[dovecot-cvs] dovecot/src/auth main.c,1.48,1.49

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


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

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/auth/main.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- main.c	7 Oct 2005 10:22:47 -0000	1.48
+++ main.c	28 Oct 2005 10:57:19 -0000	1.49
@@ -204,6 +204,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 auth caches aren't used, just ignore these signals */
 	lib_signals_set_handler(SIGHUP, FALSE, NULL, NULL);



More information about the dovecot-cvs mailing list