diff options
| author | Toby Goodwin <toby@paccrat.org> | 2018-02-17 16:03:30 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2018-02-17 16:03:30 +0000 |
| commit | 67a87ad0104d88e8b1711a3831d616598edb30c2 (patch) | |
| tree | ebd5d0a9cd3df379174742b00fcbff58eedd5969 /signal.c | |
| parent | dff49d84c0ef9880b191ebbaac2cf65a17eb481a (diff) | |
remove all references to SIGCLD
Diffstat (limited to 'signal.c')
| -rw-r--r-- | signal.c | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -83,14 +83,12 @@ extern void initsignal() { void (*h)(int); int i; -#if HAVE_SYSV_SIGCLD - /* Ensure that SIGCLD is not SIG_IGN. Solaris's rshd does this. :-( */ - h = sys_signal(SIGCLD, SIG_IGN); + /* Ensure that SIGCHLD is not SIG_IGN. Solaris's rshd does this. :-( */ + h = sys_signal(SIGCHLD, SIG_IGN); if (h != SIG_IGN && h != SIG_ERR) - sys_signal(SIGCLD, h); + sys_signal(SIGCHLD, h); else - sys_signal(SIGCLD, SIG_DFL); -#endif + sys_signal(SIGCHLD, SIG_DFL); for (i = 1; i < NUMOFSIGNALS; i++) { #ifdef SIGKILL |