[dovecot-cvs] dovecot-lda/src deliver.c,1.49,1.50

cras at dovecot.org cras at dovecot.org
Thu May 4 01:59:28 EEST 2006


Update of /var/lib/cvs/dovecot-lda/src
In directory talvi:/tmp/cvs-serv12714

Modified Files:
	deliver.c 
Log Message:
Use lib_signals_ignore() for SIGPIPE



Index: deliver.c
===================================================================
RCS file: /var/lib/cvs/dovecot-lda/src/deliver.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- deliver.c	28 Apr 2006 13:53:22 -0000	1.49
+++ deliver.c	3 May 2006 22:59:25 -0000	1.50
@@ -527,7 +527,7 @@
 	lib_signals_init();
         lib_signals_set_handler(SIGINT, TRUE, sig_die, NULL);
         lib_signals_set_handler(SIGTERM, TRUE, sig_die, NULL);
-        lib_signals_set_handler(SIGPIPE, FALSE, NULL, NULL);
+        lib_signals_ignore(SIGPIPE);
         lib_signals_set_handler(SIGALRM, FALSE, NULL, NULL);
 #ifdef SIGXFSZ
 	lib_signals_set_handler(SIGXFSZ, FALSE, NULL, NULL);



More information about the dovecot-cvs mailing list