commit b2d0248df8071a57508500448afd93f04e318fb3
parent 67e60012a3076479bb7de91b78a2c972ae0b6901
Author: tjg <tjg>
Date: Mon, 10 May 1999 15:19:23 +0000
Bug: if we reset SIGCLG to SIG_DFL, we need to record the fact in the
sighandlers[] array.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/signal.c b/signal.c
@@ -97,5 +97,7 @@ extern void initsignal() {
h = sys_signal(SIGCLD, SIG_DFL);
if (h != SIG_IGN && h != SIG_ERR)
sys_signal(SIGCLD, h);
+ else
+ sighandlers[SIGCLD] = SIG_DFL;
#endif
}