From 0b6828d14d52f21d6b6549f143da70321467dcda Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sat, 8 Mar 1997 12:15:58 +0000 Subject: [PATCH] Unpend all signals before execv, it not makes any sense to pend them here Should go into 2.2 --- usr.sbin/ppp/chat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/ppp/chat.c b/usr.sbin/ppp/chat.c index ccc7f6abc1f..5835de8c757 100644 --- a/usr.sbin/ppp/chat.c +++ b/usr.sbin/ppp/chat.c @@ -18,7 +18,7 @@ * Columbus, OH 43221 * (614)451-1883 * - * $Id: chat.c,v 1.17 1997/02/25 14:04:55 brian Exp $ + * $Id: chat.c,v 1.18 1997/03/08 10:04:11 ache Exp $ * * TODO: * o Support more UUCP compatible control sequences. @@ -407,7 +407,7 @@ char *command, *out; signal(SIGINT, SIG_DFL); signal(SIGQUIT, SIG_DFL); signal(SIGTERM, SIG_DFL); - pending_signal(SIGHUP, SIG_DFL); + signal(SIGHUP, SIG_DFL); close(fids[0]); dup2(fids[1], 1); close(fids[1]);