[dovecot-cvs] dovecot/src/login-common main.c,1.32,1.33

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


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

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/login-common/main.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- main.c	14 Apr 2006 18:20:57 -0000	1.32
+++ main.c	3 May 2006 22:58:54 -0000	1.33
@@ -175,7 +175,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);
 
 	disable_plaintext_auth = getenv("DISABLE_PLAINTEXT_AUTH") != NULL;
 	process_per_connection = getenv("PROCESS_PER_CONNECTION") != NULL;



More information about the dovecot-cvs mailing list