From dbcb6055f7e3084e8edd48c1f48ec7d61ebe37cb Mon Sep 17 00:00:00 2001 From: christos Date: Thu, 25 Sep 1997 19:56:15 +0000 Subject: [PATCH] PR/4150: sigint/sighup stays blocked after first letter cancellation. --- usr.bin/mail/collect.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/usr.bin/mail/collect.c b/usr.bin/mail/collect.c index e41f072c9d85..142dd8f356c5 100644 --- a/usr.bin/mail/collect.c +++ b/usr.bin/mail/collect.c @@ -1,4 +1,4 @@ -/* $NetBSD: collect.c,v 1.9 1997/07/09 05:25:45 mikel Exp $ */ +/* $NetBSD: collect.c,v 1.10 1997/09/25 19:56:15 christos Exp $ */ /* * Copyright (c) 1980, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)collect.c 8.2 (Berkeley) 4/19/94"; #else -static char rcsid[] = "$NetBSD: collect.c,v 1.9 1997/07/09 05:25:45 mikel Exp $"; +static char rcsid[] = "$NetBSD: collect.c,v 1.10 1997/09/25 19:56:15 christos Exp $"; #endif #endif /* not lint */ @@ -116,6 +116,8 @@ collect(hp, printheaders) rm(tempMail); goto err; } + sigdelset(&oset, SIGINT); + sigdelset(&oset, SIGHUP); sigprocmask(SIG_SETMASK, &oset, NULL); noreset++;