Module Name:    src
Committed By:   christos
Date:           Wed Oct 30 14:25:47 UTC 2013

Modified Files:
        src/external/gpl2/xcvs/dist/src: exithandle.c

Log Message:
Ignore SIGPIPE; this is silly, we are getting EOF from a client, then while
processing the error SIGPIPE comes because the client closed the connection,
and then we end up calling error() while processing the error which prints
silly messages on the console because it logs with LOG_EMERG.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl2/xcvs/dist/src/exithandle.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl2/xcvs/dist/src/exithandle.c
diff -u src/external/gpl2/xcvs/dist/src/exithandle.c:1.1.1.1 src/external/gpl2/xcvs/dist/src/exithandle.c:1.2
--- src/external/gpl2/xcvs/dist/src/exithandle.c:1.1.1.1	Tue Apr  7 18:10:26 2009
+++ src/external/gpl2/xcvs/dist/src/exithandle.c	Wed Oct 30 10:25:47 2013
@@ -30,7 +30,7 @@ signals_register (RETSIGTYPE (*handler)(
 	(void) SIG_register (SIGQUIT, handler);
 #endif
 #ifdef SIGPIPE
-	(void) SIG_register (SIGPIPE, handler);
+	(void) SIG_register (SIGPIPE, SIG_IGN);
 #endif
 #ifdef SIGTERM
 	(void) SIG_register (SIGTERM, handler);

Reply via email to