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:
Kevin P. Fleming
2005-07-15 22:12:55 +00:00
parent 9d8d86e19d
commit 11486c084a

View File

@@ -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)