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:
Michael Jennings 2009-10-25 20:23:24 +00:00
parent c23b7ce6aa
commit c6ff25f5f1
2 changed files with 6 additions and 0 deletions

View File

@ -5603,3 +5603,8 @@ Sun Oct 25 12:08:16 2009 Michael Jennings (mej)
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.
----------------------------------------------------------------------

View File

@ -2304,6 +2304,7 @@ run_command(char **argv)
signal(SIGILL, SIG_DFL);
signal(SIGSYS, SIG_DFL);
signal(SIGALRM, SIG_DFL);
signal(SIGPIPE, SIG_DFL);
#ifdef SIGTSTP
signal(SIGTSTP, SIG_IGN);
signal(SIGTTIN, SIG_IGN);