[Asterisk-cvs] asterisk asterisk.c,1.167,1.168

kpfleming at lists.digium.com kpfleming at lists.digium.com
Fri Jul 15 18:05:06 CDT 2005


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv12935

Modified Files:
	asterisk.c 
Log Message:
re-enable SIGHUP and SIGCHLD after they fire on platforms that require it (bug #4720)


Index: asterisk.c
===================================================================
RCS file: /usr/cvsroot/asterisk/asterisk.c,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -d -r1.167 -r1.168
--- asterisk.c	8 Jul 2005 21:14:34 -0000	1.167
+++ asterisk.c	15 Jul 2005 22:12:55 -0000	1.168
@@ -654,6 +654,7 @@
 		execvp(_argv[0], _argv);
 	/* XXX This could deadlock XXX */
 	ast_module_reload(NULL);
+	signal(num, hup_handler);
 }
 
 static void child_handler(int sig)
@@ -668,6 +669,7 @@
 		;
 	if (n == 0 && option_debug)	
 		printf("Huh?  Child handler, but nobody there?\n");
+	signal(sig, child_handler);
 }
 
 static void set_title(char *text)




More information about the svn-commits mailing list