From ec63c53ee602c5641eb5b950f8f9cddc1beeed77 Mon Sep 17 00:00:00 2001 From: shivers Date: Tue, 16 Jun 1998 21:17:58 +0000 Subject: [PATCH] Fixed bug whereby interrupt 0 = interrupt/alarm, i.e., SIGALRM, wasn't being switched over from default handling (which is process termination) to S48/scsh handling. --- scsh/sighandlers1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scsh/sighandlers1.c b/scsh/sighandlers1.c index 0216bf9..5a6a245 100644 --- a/scsh/sighandlers1.c +++ b/scsh/sighandlers1.c @@ -175,7 +175,7 @@ void install_scsh_handlers(void) new.sa_flags = 0; for(i=max_sig; i>=0; i--) - if( sig2int[i] ) { + if( sig2int[i] >= 0 ) { /* This is a signal we want the S48 interrupt system to handle. */ sigaction(i, &new, 0); }