[dovecot-cvs] dovecot/src/imap main.c,1.65,1.66

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


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

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/imap/main.c,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- main.c	25 Sep 2005 11:07:36 -0000	1.65
+++ main.c	28 Oct 2005 10:57:18 -0000	1.66
@@ -138,6 +138,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);
 
 	user = getenv("USER");
 	if (user == NULL) {



More information about the dovecot-cvs mailing list