Make syslogd ignore SIGCLD only if SIGCLD is defined. This should fix SPARC.
Also ignore SIGCHLD - it must have been meant.
This commit is contained in:
parent
5d513f7256
commit
d39d120998
@ -301,7 +301,10 @@ static void doSyslogd (void)
|
|||||||
signal (SIGTERM, quit_signal);
|
signal (SIGTERM, quit_signal);
|
||||||
signal (SIGQUIT, quit_signal);
|
signal (SIGQUIT, quit_signal);
|
||||||
signal (SIGHUP, SIG_IGN);
|
signal (SIGHUP, SIG_IGN);
|
||||||
|
signal (SIGCHLD, SIG_IGN);
|
||||||
|
#ifdef SIGCLD
|
||||||
signal (SIGCLD, SIG_IGN);
|
signal (SIGCLD, SIG_IGN);
|
||||||
|
#endif
|
||||||
signal (SIGALRM, domark);
|
signal (SIGALRM, domark);
|
||||||
alarm (MarkInterval);
|
alarm (MarkInterval);
|
||||||
|
|
||||||
|
@ -301,7 +301,10 @@ static void doSyslogd (void)
|
|||||||
signal (SIGTERM, quit_signal);
|
signal (SIGTERM, quit_signal);
|
||||||
signal (SIGQUIT, quit_signal);
|
signal (SIGQUIT, quit_signal);
|
||||||
signal (SIGHUP, SIG_IGN);
|
signal (SIGHUP, SIG_IGN);
|
||||||
|
signal (SIGCHLD, SIG_IGN);
|
||||||
|
#ifdef SIGCLD
|
||||||
signal (SIGCLD, SIG_IGN);
|
signal (SIGCLD, SIG_IGN);
|
||||||
|
#endif
|
||||||
signal (SIGALRM, domark);
|
signal (SIGALRM, domark);
|
||||||
alarm (MarkInterval);
|
alarm (MarkInterval);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user