diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-01-15 19:32:14 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-01-15 19:32:14 +0000 |
commit | 99f51f841264d8a8b02dbb59090bfc5bd3ea31a9 (patch) | |
tree | 904541ac4120a2d7d0aaa0e3ed4bda02360b6b83 | |
parent | 524ed6375169a030500fbbcbe524253c7eb45333 (diff) |
use _exit() in signal handler, still a race because of warnx()...
-rw-r--r-- | bin/rcp/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/rcp/util.c b/bin/rcp/util.c index 7d268a5e78c..cf86fa02122 100644 --- a/bin/rcp/util.c +++ b/bin/rcp/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.6 1998/08/15 20:14:08 deraadt Exp $ */ +/* $OpenBSD: util.c,v 1.7 2001/01/15 19:32:13 deraadt Exp $ */ /* $NetBSD: util.c,v 1.2 1995/03/21 08:19:08 cgd Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)util.c 8.2 (Berkeley) 4/2/94"; #else -static char rcsid[] = "$OpenBSD: util.c,v 1.6 1998/08/15 20:14:08 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: util.c,v 1.7 2001/01/15 19:32:13 deraadt Exp $"; #endif #endif /* not lint */ @@ -173,5 +173,5 @@ lostconn(signo) { if (!iamremote) warnx("lost connection"); - exit(1); + _exit(1); } |