diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2006-06-26 13:12:16 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2006-06-26 13:12:16 (GMT) |
commit | 557325930ce81804a1dd9c6f0e3babb8673afdd5 (patch) | |
tree | 00724b40d83d8720b7208f611356af5ed3ab354e /Python/getopt.c | |
parent | a7ee9eb3d95f9c4dfb0fa8e52523cb46959e2301 (diff) | |
download | cpython-557325930ce81804a1dd9c6f0e3babb8673afdd5.zip cpython-557325930ce81804a1dd9c6f0e3babb8673afdd5.tar.gz cpython-557325930ce81804a1dd9c6f0e3babb8673afdd5.tar.bz2 |
[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.
Diffstat (limited to 'Python/getopt.c')
0 files changed, 0 insertions, 0 deletions