]> git.cameronkatri.com Git - pw-darwin.git/commit
Revert (once again, and hopefully for the last time) to flock(2) locks.
authorDag-Erling Smørgrav <des@FreeBSD.org>
Sat, 6 Jun 2009 18:47:03 +0000 (18:47 +0000)
committerDag-Erling Smørgrav <des@FreeBSD.org>
Sat, 6 Jun 2009 18:47:03 +0000 (18:47 +0000)
commitd1ed3c585dd582b203fc6d1ac5d7acf61bf97a6d
tree43b05d83be37b3bf35cf56944a03cece0fc2a444
parenta8da6514f59a0823e142e9898a0edffb7e12d06b
Revert (once again, and hopefully for the last time) to flock(2) locks.
The problem with fcntl(2) locks is that they are not inherited by child
processes.  This breaks pidfile(3), where the common idiom is to open
and lock the PID file before daemonizing.
libutil/flopen.c