[dovecot-cvs] dovecot-lda/src deliver.c,1.48,1.49

cras at dovecot.org cras at dovecot.org
Fri Apr 28 16:53:24 EEST 2006


Update of /var/lib/cvs/dovecot-lda/src
In directory talvi:/tmp/cvs-serv31967

Modified Files:
	deliver.c 
Log Message:
Ignore SIGXFSZ signal if it exists. We don't want to crash if some file is
too large.



Index: deliver.c
===================================================================
RCS file: /var/lib/cvs/dovecot-lda/src/deliver.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- deliver.c	28 Apr 2006 13:48:30 -0000	1.48
+++ deliver.c	28 Apr 2006 13:53:22 -0000	1.49
@@ -529,6 +529,9 @@
         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);
+#ifdef SIGXFSZ
+	lib_signals_set_handler(SIGXFSZ, FALSE, NULL, NULL);
+#endif
 
 	/* Clean up environment. */
 	env_tz = getenv("TZ");



More information about the dovecot-cvs mailing list