]> granicus.if.org Git - python/commit
[Bug #1512163] Use one set of locking methods, lockf();
authorAndrew M. Kuchling <amk@amk.ca>
Mon, 26 Jun 2006 13:12:16 +0000 (13:12 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Mon, 26 Jun 2006 13:12:16 +0000 (13:12 +0000)
commit557325930ce81804a1dd9c6f0e3babb8673afdd5
tree00724b40d83d8720b7208f611356af5ed3ab354e
parenta7ee9eb3d95f9c4dfb0fa8e52523cb46959e2301
[Bug #1512163] Use one set of locking methods, lockf();
remove the flock() calls.

On FreeBSD, the two methods lockf() and flock() end up using the same
mechanism and the second one fails.  A Linux man page claims that the
two methods are orthogonal (so locks acquired one way don't interact
with locks acquired the other way) but that clearly must be false.
Lib/mailbox.py