[dovecot-cvs] dovecot/src/imap main.c,1.76,1.77

cras at dovecot.org cras at dovecot.org
Thu May 4 01:58:56 EEST 2006


Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv26015/imap

Modified Files:
	main.c 
Log Message:
Use lib_signals_ignore() for signals we really want ignored.



Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/main.c,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- main.c	14 Apr 2006 18:21:00 -0000	1.76
+++ main.c	3 May 2006 22:58:54 -0000	1.77
@@ -146,7 +146,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);
 
 	user = getenv("USER");



More information about the dovecot-cvs mailing list