[dovecot-cvs] dovecot/src/pop3 main.c,1.1,1.2

cras at procontrol.fi cras at procontrol.fi
Mon Feb 3 07:01:08 EET 2003


Update of /home/cvs/dovecot/src/pop3
In directory danu:/tmp/cvs-serv16952/pop3

Modified Files:
	main.c 
Log Message:
We don't need to raise SIGHUP in alarm handler, that was just a mistake in
first tests. That also means gdb won't break at SIGALRM and I can remove the
DISABLE_ALARMHUP kludge.



Index: main.c
===================================================================
RCS file: /home/cvs/dovecot/src/pop3/main.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- main.c	27 Jan 2003 05:45:47 -0000	1.1
+++ main.c	3 Feb 2003 05:01:06 -0000	1.2
@@ -117,10 +117,8 @@
 int main(int argc __attr_unused__, char *argv[], char *envp[])
 {
 #ifdef DEBUG
-	if (getenv("LOGGED_IN") != NULL) {
+	if (getenv("LOGGED_IN") != NULL)
 		fd_debug_verify_leaks(3, 1024);
-		putenv("DISABLE_ALARMHUP=1"); /* annoying when debugging */
-	}
 #endif
 	/* NOTE: we start rooted, so keep the code minimal until
 	   restrict_access_by_env() is called */




More information about the dovecot-cvs mailing list