<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libutil/flopen.c, branch releng/8.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F8.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F8.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2009-06-06T18:47:03Z</updated>
<entry>
<title>Revert (once again, and hopefully for the last time) to flock(2) locks.</title>
<updated>2009-06-06T18:47:03Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2009-06-06T18:47:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5649afd028c62ae91a75c10a285c88e7b38e15e6'/>
<id>urn:sha1:5649afd028c62ae91a75c10a285c88e7b38e15e6</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Diff reduction against Varnish, including one important fix: use a shared</title>
<updated>2008-10-20T18:11:30Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2008-10-20T18:11:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0e25c55a954565bb491ed1f3a81c57057a64b29a'/>
<id>urn:sha1:0e25c55a954565bb491ed1f3a81c57057a64b29a</id>
<content type='text'>
lock if the file is opened with O_RDONLY.
</content>
</entry>
<entry>
<title>Reimplement flopen(3) using fcntl(2) locks instead of flock(2) locks.</title>
<updated>2008-10-20T18:02:16Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2008-10-20T18:02:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=80de06ed6b796541c956ea77e8c6354eca0e2141'/>
<id>urn:sha1:80de06ed6b796541c956ea77e8c6354eca0e2141</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Back out previous commit until I figure out why my regression test fails.</title>
<updated>2007-08-03T09:20:28Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2007-08-03T09:20:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=062044ebbecb3f215d9ba39a22faeba6f8720d75'/>
<id>urn:sha1:062044ebbecb3f215d9ba39a22faeba6f8720d75</id>
<content type='text'>
Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>Use fcntl(2)-style locks instead of less-portable flock(2)-style locks.</title>
<updated>2007-08-03T06:32:45Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2007-08-03T06:32:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7eb198c6424d784ecc2723f0457fd936b6ecf8d1'/>
<id>urn:sha1:7eb198c6424d784ecc2723f0457fd936b6ecf8d1</id>
<content type='text'>
Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>Nit: avoid shadowing truncate(2) with a local variable.</title>
<updated>2007-05-23T12:09:33Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2007-05-23T12:09:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4b5b992bbac261a7c5cfc9c350dc9c644dd3a383'/>
<id>urn:sha1:4b5b992bbac261a7c5cfc9c350dc9c644dd3a383</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix stupid braino in previous commit.</title>
<updated>2007-05-23T10:06:03Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2007-05-23T10:06:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=400f77294311c74ad8db91d11f3c26c8c72170c9'/>
<id>urn:sha1:400f77294311c74ad8db91d11f3c26c8c72170c9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>If (flags &amp; O_TRUNC), don't truncate the file until we've successfully</title>
<updated>2007-05-23T08:12:34Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2007-05-23T08:12:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d75d56060e0bb6ae2d9b44e26fb050c6fd82c299'/>
<id>urn:sha1:d75d56060e0bb6ae2d9b44e26fb050c6fd82c299</id>
<content type='text'>
locked it.

MFC after:	3 weeks
</content>
</entry>
<entry>
<title>Well gag me with a spoon...   I'm so used to working at high WARNS levels</title>
<updated>2007-05-10T15:01:42Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2007-05-10T15:01:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8f9085389f734f1e0f7e926ee0f3b44419d8c4fc'/>
<id>urn:sha1:8f9085389f734f1e0f7e926ee0f3b44419d8c4fc</id>
<content type='text'>
that I make stupid fundamental mistakes like this when I don't.
</content>
</entry>
<entry>
<title>Remove superfluous unexpanded RCS tag.</title>
<updated>2007-05-10T14:56:07Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2007-05-10T14:56:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b252bedcc96bf1764737714f7bbd1a17f7c28e6c'/>
<id>urn:sha1:b252bedcc96bf1764737714f7bbd1a17f7c28e6c</id>
<content type='text'>
</content>
</entry>
</feed>
