revert previous. It was dumb.

This commit is contained in:
christos 1997-10-31 22:15:52 +00:00
parent 97128ca91e
commit a2e8434f60
1 changed files with 4 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: collect.c,v 1.13 1997/10/31 21:23:46 christos Exp $ */
/* $NetBSD: collect.c,v 1.14 1997/10/31 22:15:52 christos Exp $ */
/*
* Copyright (c) 1980, 1993
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)collect.c 8.2 (Berkeley) 4/19/94";
#else
__RCSID("$NetBSD: collect.c,v 1.13 1997/10/31 21:23:46 christos Exp $");
__RCSID("$NetBSD: collect.c,v 1.14 1997/10/31 22:15:52 christos Exp $");
#endif
#endif /* not lint */
@ -591,12 +591,10 @@ collstop(s)
sig_t old_action = signal(s, SIG_DFL);
sigset_t nset;
sigprocmask(SIG_SETMASK, NULL, &nset);
sigdelset(&nset, s);
sigprocmask(SIG_SETMASK, &nset, NULL);
kill(0, s);
sigemptyset(&nset);
sigaddset(&nset, s);
sigprocmask(SIG_UNBLOCK, &nset, NULL);
kill(0, s);
sigprocmask(SIG_BLOCK, &nset, NULL);
signal(s, old_action);
if (colljmp_p) {