[dovecot-cvs] dovecot/src/pop3 main.c,1.31,1.32

cras at dovecot.org cras at dovecot.org
Fri Oct 28 13:57:20 EEST 2005


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

Modified Files:
	main.c 
Log Message:
Ignore SIGALRM signal. We don't want to crash when it happens.



Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/main.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- main.c	16 Oct 2005 20:24:01 -0000	1.31
+++ main.c	28 Oct 2005 10:57:17 -0000	1.32
@@ -155,6 +155,7 @@
         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_set_handler(SIGALRM, FALSE, NULL, NULL);
 
 	if (getenv("USER") == NULL)
 		i_fatal("USER environment missing");



More information about the dovecot-cvs mailing list