Subject: Re: bin/30820
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Daniel de Kok <danieldk@pobox.com>
List: netbsd-bugs
Date: 09/22/2006 19:45:02
The following reply was made to PR bin/30820; it has been noted by GNATS.
From: Daniel de Kok <danieldk@pobox.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: bin/30820
Date: Fri, 22 Sep 2006 21:44:27 +0200
--d6Gm4EdcadzBjdND
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Are the any objections to committing this one-liner? Mentioning link(2)
should be sufficient, since that's relevant for this particular paragraph.
Take care,
Daniel
--d6Gm4EdcadzBjdND
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="shlock-manpage.diff"
Index: shlock.1
===================================================================
RCS file: /cvsroot/src/usr.bin/shlock/shlock.1,v
retrieving revision 1.8
diff -b -u -r1.8 shlock.1
--- shlock.1 13 Jul 2004 12:14:07 -0000 1.8
+++ shlock.1 22 Sep 2006 19:40:22 -0000
@@ -30,7 +30,7 @@
.Pp
.Nm
uses the
-.Xr rename 2
+.Xr link 2
system call to make the final target lock file, which is an atomic
operation (i.e. "dot locking", so named for this mechanism's original
use for locking system mailboxes).
--d6Gm4EdcadzBjdND--