From 68a926cb06053dc27515cc7d6154a387940d9ce4 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 12 Jun 1998 18:07:59 +0000 Subject: back out some signal changes that can cause mail to hang when quitting due to SIGCHLD blockage --- usr.bin/mail/lex.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'usr.bin/mail/lex.c') 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); } /* -- cgit v1.2.3