Change the default value of SIGPIPE

To avoid the conflicting default with SIGQUIT.
This commit is contained in:
YAMAMOTO Takashi 2020-10-26 11:27:41 +09:00 committed by Xiang Xiao
parent ad5c168b30
commit 6a2bd9a75b
2 changed files with 2 additions and 2 deletions

View File

@ -180,7 +180,7 @@
#endif
#ifndef CONFIG_SIG_PIPE
# define SIGPIPE 11
# define SIGPIPE 13
#else
# define SIGPIPE CONFIG_SIG_PIPE
#endif

View File

@ -1505,7 +1505,7 @@ endif # SIG_DEFAULT
config SIG_PIPE
int "SIGPIPE"
default 11
default 13
---help---
The SIGPIPE signal is sent to a task termination event.
This signal is generated when write on a pipe with no one to read it.