mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
We want to ignore SIGPIPE *ALWAYS*, don't set it back to SIG_DFL.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@545 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
4a4cd43f0f
commit
7832572cdc
@ -92,7 +92,6 @@ static void read_signals(void)
|
|||||||
signal(SIGHUP, find_substr(ignores, "hup") ? SIG_IGN : SIG_DFL);
|
signal(SIGHUP, find_substr(ignores, "hup") ? SIG_IGN : SIG_DFL);
|
||||||
signal(SIGQUIT, find_substr(ignores, "quit") ? SIG_IGN : SIG_DFL);
|
signal(SIGQUIT, find_substr(ignores, "quit") ? SIG_IGN : SIG_DFL);
|
||||||
signal(SIGTERM, find_substr(ignores, "term") ? SIG_IGN : SIG_DFL);
|
signal(SIGTERM, find_substr(ignores, "term") ? SIG_IGN : SIG_DFL);
|
||||||
signal(SIGPIPE, find_substr(ignores, "pipe") ? SIG_IGN : SIG_DFL);
|
|
||||||
signal(SIGALRM, find_substr(ignores, "alrm") ? SIG_IGN : SIG_DFL);
|
signal(SIGALRM, find_substr(ignores, "alrm") ? SIG_IGN : SIG_DFL);
|
||||||
signal(SIGUSR1, find_substr(ignores, "usr1") ? SIG_IGN : SIG_DFL);
|
signal(SIGUSR1, find_substr(ignores, "usr1") ? SIG_IGN : SIG_DFL);
|
||||||
signal(SIGUSR2, find_substr(ignores, "usr2") ? SIG_IGN : SIG_DFL);
|
signal(SIGUSR2, find_substr(ignores, "usr2") ? SIG_IGN : SIG_DFL);
|
||||||
|
Loading…
Reference in New Issue
Block a user