diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2006-08-14 00:59:12 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2006-08-14 00:59:12 +0000 |
commit | c625d7a00b024fe5de26d16b6420abebb1db705c (patch) | |
tree | 50e8fc6ade0c5a9b33a0e52ebcb4243b5615dc22 /fetchmail.c | |
parent | 209df1f20e34620e6d970358b343af10e90800be (diff) | |
download | fetchmail-c625d7a00b024fe5de26d16b6420abebb1db705c.tar.gz fetchmail-c625d7a00b024fe5de26d16b6420abebb1db705c.tar.bz2 fetchmail-c625d7a00b024fe5de26d16b6420abebb1db705c.zip |
Ignore SIGPIPE, EPIPE must suffice as error.
Calling longjmp() from a signal handler is unsafe.
svn path=/branches/BRANCH_6-3/; revision=4894
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c index d417ab38..4657e913 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -590,7 +590,7 @@ int main(int argc, char **argv) set_signal_handler(SIGINT, terminate_run); set_signal_handler(SIGTERM, terminate_run); set_signal_handler(SIGALRM, terminate_run); - set_signal_handler(SIGPIPE, terminate_run); + set_signal_handler(SIGPIPE, SIG_IGN); set_signal_handler(SIGQUIT, terminate_run); /* here's the exclusion lock */ |