Date: Sat, 6 Jun 2009 18:47:03 +0000 (UTC) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libutil flopen.3 flopen.c Message-ID: <200906061847.n56IlR1U050263@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
des 2009-06-06 18:47:03 UTC FreeBSD src repository Modified files: lib/libutil flopen.3 flopen.c Log: SVN rev 193591 on 2009-06-06 18:47:03Z by des 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. Revision Changes Path 1.8 +9 -15 src/lib/libutil/flopen.3 1.12 +5 -8 src/lib/libutil/flopen.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906061847.n56IlR1U050263>