From 46ddffab2646372ea2b2da6815397809abe58c77 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 22 Jun 2001 23:52:36 +0000 Subject: do not exit() from signal handler --- bin/dd/misc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/dd') diff --git a/bin/dd/misc.c b/bin/dd/misc.c index 40bc4808377..b85931a6438 100644 --- a/bin/dd/misc.c +++ b/bin/dd/misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.c,v 1.7 1997/09/12 04:33:24 millert Exp $ */ +/* $OpenBSD: misc.c,v 1.8 2001/06/22 23:52:35 deraadt Exp $ */ /* $NetBSD: misc.c,v 1.4 1995/03/21 09:04:10 cgd Exp $ */ /*- @@ -42,7 +42,7 @@ #if 0 static char sccsid[] = "@(#)misc.c 8.3 (Berkeley) 4/2/94"; #else -static char rcsid[] = "$OpenBSD: misc.c,v 1.7 1997/09/12 04:33:24 millert Exp $"; +static char rcsid[] = "$OpenBSD: misc.c,v 1.8 2001/06/22 23:52:35 deraadt Exp $"; #endif #endif /* not lint */ @@ -106,5 +106,5 @@ terminate(notused) int notused; { - exit(0); + _exit(0); } -- cgit v1.2.3