From 48da60bb348730782d0f0d5d8d62440f9d56ae1f Mon Sep 17 00:00:00 2001 From: jmc <> Date: Fri, 29 Jul 2005 09:08:34 +0000 Subject: [PATCH] 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... --- src/lib/libutil/pw_lock.3 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/lib/libutil/pw_lock.3 b/src/lib/libutil/pw_lock.3 index d132fa4f..fca11013 100644 --- a/src/lib/libutil/pw_lock.3 +++ b/src/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,