From 456bce4845a7035515a737e3276e5390c2b6db16 Mon Sep 17 00:00:00 2001 From: tjg Date: Thu, 15 Aug 2002 14:02:09 +0000 Subject: fix typo (s/SIGCONT/SIGSTOP/) --- ChangeLog | 2 +- signal.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index e3b0484..d06a7b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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). diff --git a/signal.c b/signal.c index dfdc8d0..b5cbe63 100644 --- a/signal.c +++ b/signal.c @@ -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) -- cgit v1.2.3