diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-07-20 14:20:30 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-07-20 14:20:30 +0000 |
commit | c4137d79d4b7d27f66a4f23f957bd4d1e17fe681 (patch) | |
tree | 458b3aeb3a17de60007304180fab9e512b643b00 /usr.bin/xstr | |
parent | 32deec1db2beddb1b0bca650c118c43d38fdd6d9 (diff) |
safe signal handling, using _exit()
Diffstat (limited to 'usr.bin/xstr')
-rw-r--r-- | usr.bin/xstr/xstr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/xstr/xstr.c b/usr.bin/xstr/xstr.c index b19f1a85fd8..5ee3c863b70 100644 --- a/usr.bin/xstr/xstr.c +++ b/usr.bin/xstr/xstr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xstr.c,v 1.4 1996/12/07 08:18:38 bitblt Exp $ */ +/* $OpenBSD: xstr.c,v 1.5 2001/07/20 14:20:29 deraadt Exp $ */ /* $NetBSD: xstr.c,v 1.5 1994/12/24 16:57:59 cgd Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)xstr.c 8.1 (Berkeley) 6/9/93"; #endif -static char rcsid[] = "$OpenBSD: xstr.c,v 1.4 1996/12/07 08:18:38 bitblt Exp $"; +static char rcsid[] = "$OpenBSD: xstr.c,v 1.5 2001/07/20 14:20:29 deraadt Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -492,5 +492,5 @@ onintr() ignore(unlink(strings)); ignore(unlink("x.c")); ignore(unlink("xs.c")); - exit(7); + _exit(7); } |