mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	re-enable SIGHUP and SIGCHLD after they fire on platforms that require it (bug #4720)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6144 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -654,6 +654,7 @@ static void hup_handler(int num) | ||||
| 		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 @@ static void child_handler(int sig) | ||||
| 		; | ||||
| 	if (n == 0 && option_debug)	 | ||||
| 		printf("Huh?  Child handler, but nobody there?\n"); | ||||
| 	signal(sig, child_handler); | ||||
| } | ||||
|  | ||||
| static void set_title(char *text) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user