summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-07-29 09:08:35 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-07-29 09:08:35 +0000
commit6624590b49e420eb3d99056bb00bdf4839063672 (patch)
tree66bab6a82ac1931609298ced4bbe898bcb98c284 /lib
parentfbfcd8ffbdaf69030692902d77c9e33fd9e58da7 (diff)
O_EXLOCK stuff was introduced in June 1997, and backed out again in
November of that year; however, the corresponding man changes were never backed out. do that now, reversing -r1.3 of this file; original pr and diff from peter philipp (this commit closes pr #4309); i chose to revert -r1.3 rather than accept the new wording from peter; thanks jaredy@ for tracking all this down, and supplying the ok...
Diffstat (limited to 'lib')
-rw-r--r--lib/libutil/pw_lock.38
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/libutil/pw_lock.3 b/lib/libutil/pw_lock.3
index d132fa4fac4..fca11013cee 100644
--- a/lib/libutil/pw_lock.3
+++ b/lib/libutil/pw_lock.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pw_lock.3,v 1.11 2005/03/07 23:01:40 jmc Exp $
+.\" $OpenBSD: pw_lock.3,v 1.12 2005/07/29 09:08:34 jmc Exp $
.\"
.\" Copyright (c) 1995
.\" The Regents of the University of California. All rights reserved.
@@ -58,10 +58,8 @@ functions allow a program to update the system passwd database.
The
.Fn pw_lock
function attempts to lock the passwd database by creating the file
-.Pa /etc/ptmp
-with an exclusive lock (using
-.Xr flock 2
-semantics) and returns the file descriptor of that file.
+.Pa /etc/ptmp ,
+and returns the file descriptor of that file.
If
.Fa retries
is greater than zero,