From: Fabian Keil Date: Wed, 8 Mar 2017 13:15:49 +0000 (+0000) Subject: Explain why SIGPIPE is ignored and remove the 'FIXME: Why?' about it X-Git-Tag: v_3_0_27~191 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=c37e4fad3121a5dc86892eb35f19e92c83e05764;ds=sidebyside Explain why SIGPIPE is ignored and remove the 'FIXME: Why?' about it --- diff --git a/jcc.c b/jcc.c index b2adb892..fa88995d 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.449 2016/12/24 16:00:49 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.450 2016/12/24 16:01:32 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -3749,7 +3749,10 @@ int main(int argc, char **argv) * * Catch the abort, interrupt and terminate signals for a graceful exit * Catch the hangup signal so the errlog can be reopened. - * Ignore the broken pipe signals (FIXME: Why?) + * + * Ignore the broken pipe signal as connection failures + * are handled when and where they occur without relying + * on a signal. */ #if !defined(_WIN32) && !defined(__OS2__) && !defined(AMIGA) {