[dovecot-cvs] dovecot/src/master main.c,1.79,1.80

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


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

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/master/main.c,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- main.c	14 Apr 2006 18:20:57 -0000	1.79
+++ main.c	3 May 2006 22:58:55 -0000	1.80
@@ -545,7 +545,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);
         lib_signals_set_handler(SIGHUP, TRUE, sig_reload_settings, NULL);
         lib_signals_set_handler(SIGUSR1, TRUE, sig_reopen_logs, NULL);



More information about the dovecot-cvs mailing list