diff options
| author | tjg <tjg> | 2002-08-15 14:02:09 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:23 +0100 |
| commit | 456bce4845a7035515a737e3276e5390c2b6db16 (patch) | |
| tree | 24e594cda609c09647d2cc3bfa2d07cae432d5db | |
| parent | 8f26017bb9cb3f38424f50511263cf70e476d98b (diff) | |
fix typo (s/SIGCONT/SIGSTOP/)
| -rw-r--r-- | ChangeLog | 2 | ||||
| -rw-r--r-- | signal.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -803,7 +803,7 @@ Changes since rc-1.5b2 $version) need to be made exportable if they are inherited from the environment. - Portability: don't call sigaction() for SIGKILL or SIGCONT; don't + Portability: don't call sigaction() for SIGKILL or SIGSTOP; don't hand a garbage signal mask to sigaction() (thanks Jeremy Fitzhardinge). Also, remove use of SA_INTERRUPT (SUSv3, BSD, etc. have SA_RESTART with the inverted meaning). @@ -100,8 +100,8 @@ extern void initsignal() { #ifdef SIGKILL if (i == SIGKILL) continue; #endif -#ifdef SIGCONT - if (i == SIGCONT) continue; +#ifdef SIGSTOP + if (i == SIGSTOP) continue; #endif h = sys_signal(i, SIG_IGN); if (h != SIG_IGN && h != SIG_ERR) |