diff options
author | 2005-07-29 09:08:34 +0000 | |
---|---|---|
committer | 2005-07-29 09:08:34 +0000 | |
commit | f7e35bfe468c42477a901e5f4a6092c163909ce9 (patch) | |
tree | e22a0027d7ad609fbbbe13f6b6583bfbb1a04f15 /lib/libutil | |
parent | tidy up SEE ALSO; (diff) | |
download | wireguard-openbsd-f7e35bfe468c42477a901e5f4a6092c163909ce9.tar.xz wireguard-openbsd-f7e35bfe468c42477a901e5f4a6092c163909ce9.zip |
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/libutil')
-rw-r--r-- | lib/libutil/pw_lock.3 | 8 |
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, |