diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-06-12 18:07:59 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-06-12 18:07:59 +0000 |
commit | 68a926cb06053dc27515cc7d6154a387940d9ce4 (patch) | |
tree | 0df3b7ff1d7065942aa0292d20eae272728203d2 /usr.bin/mail/lex.c | |
parent | 7a7f36bfa25dfe05f4e3efaa2cae3267993d48de (diff) |
back out some signal changes that can cause mail to hang when quitting due to SIGCHLD blockage
Diffstat (limited to 'usr.bin/mail/lex.c')
-rw-r--r-- | usr.bin/mail/lex.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/mail/lex.c b/usr.bin/mail/lex.c index 748e7ce6e3f..73ef70c87b5 100644 --- a/usr.bin/mail/lex.c +++ b/usr.bin/mail/lex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lex.c,v 1.16 1998/05/04 05:37:49 millert Exp $ */ +/* $OpenBSD: lex.c,v 1.17 1998/06/12 18:07:57 millert Exp $ */ /* $NetBSD: lex.c,v 1.10 1997/05/17 19:55:13 pk Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)lex.c 8.2 (Berkeley) 4/20/95"; #else -static char rcsid[] = "$OpenBSD: lex.c,v 1.16 1998/05/04 05:37:49 millert Exp $"; +static char rcsid[] = "$OpenBSD: lex.c,v 1.17 1998/06/12 18:07:57 millert Exp $"; #endif #endif /* not lint */ @@ -549,10 +549,7 @@ void intr(s) int s; { - sigset_t set, oset; - (void)sigfillset(&set); - (void)sigprocmask(SIG_BLOCK, &set, &oset); noreset = 0; if (!inithdr) sawcom++; @@ -568,7 +565,6 @@ intr(s) } fputs("Interrupt\n", stderr); reset(0); - (void)sigprocmask(SIG_SETMASK, &oset, NULL); } /* |