[dovecot-cvs] dovecot/src/pop3 main.c,1.47,1.48

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


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

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/pop3/main.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- main.c	2 May 2006 19:50:47 -0000	1.47
+++ main.c	3 May 2006 22:58:56 -0000	1.48
@@ -165,7 +165,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);
 
 	if (getenv("USER") == NULL)



More information about the dovecot-cvs mailing list