Sun Oct 25 12:29:32 2009 Michael Jennings (mej)
Re-enable SIGPIPE after fork() for child processes who might not re-enable it on their own. ---------------------------------------------------------------------- SVN revision: 43280
This commit is contained in:
parent
c23b7ce6aa
commit
c6ff25f5f1
|
@ -5603,3 +5603,8 @@ Sun Oct 25 12:08:16 2009 Michael Jennings (mej)
|
||||||
|
|
||||||
Fix some bad replacements.
|
Fix some bad replacements.
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
|
Sun Oct 25 12:29:32 2009 Michael Jennings (mej)
|
||||||
|
|
||||||
|
Re-enable SIGPIPE after fork() for child processes who might not
|
||||||
|
re-enable it on their own.
|
||||||
|
----------------------------------------------------------------------
|
||||||
|
|
|
@ -2304,6 +2304,7 @@ run_command(char **argv)
|
||||||
signal(SIGILL, SIG_DFL);
|
signal(SIGILL, SIG_DFL);
|
||||||
signal(SIGSYS, SIG_DFL);
|
signal(SIGSYS, SIG_DFL);
|
||||||
signal(SIGALRM, SIG_DFL);
|
signal(SIGALRM, SIG_DFL);
|
||||||
|
signal(SIGPIPE, SIG_DFL);
|
||||||
#ifdef SIGTSTP
|
#ifdef SIGTSTP
|
||||||
signal(SIGTSTP, SIG_IGN);
|
signal(SIGTSTP, SIG_IGN);
|
||||||
signal(SIGTTIN, SIG_IGN);
|
signal(SIGTTIN, SIG_IGN);
|
||||||
|
|
Loading…
Reference in New Issue