PR/4150: sigint/sighup stays blocked after first letter cancellation.

This commit is contained in:
christos 1997-09-25 19:56:15 +00:00
parent e64c0d533b
commit dbcb6055f7
1 changed files with 4 additions and 2 deletions

View File

@ -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++;