Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/usr.sbin/rpc.lockd Pull up revision 1.13 (requested by ...
details: https://anonhg.NetBSD.org/src/rev/769018463e88
branches: netbsd-1-6
changeset: 531245:769018463e88
user: grant <grant%NetBSD.org@localhost>
date: Tue Apr 06 09:34:32 2004 +0000
description:
Pull up revision 1.13 (requested by bouyer in ticket #1652):
for fork'ed children, use _exit instead of exit.
diffstat:
usr.sbin/rpc.lockd/lockd_lock.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r 91a69657a61e -r 769018463e88 usr.sbin/rpc.lockd/lockd_lock.c
--- a/usr.sbin/rpc.lockd/lockd_lock.c Tue Apr 06 09:32:01 2004 +0000
+++ b/usr.sbin/rpc.lockd/lockd_lock.c Tue Apr 06 09:34:32 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lockd_lock.c,v 1.8.2.2 2004/04/06 09:32:01 grant Exp $ */
+/* $NetBSD: lockd_lock.c,v 1.8.2.3 2004/04/06 09:34:32 grant Exp $ */
/*
* Copyright (c) 2000 Manuel Bouyer.
@@ -487,10 +487,10 @@
if(flock(fl->fd, lflags) != 0) {
syslog(LOG_NOTICE, "flock failed: %s",
strerror(errno));
- exit(1);
+ _exit(1);
}
/* lock granted */
- exit(0);
+ _exit(0);
default:
syslog(LOG_DEBUG, "lock request from %s: forked %d",
fl->client_name, fl->locker);
Home |
Main Index |
Thread Index |
Old Index