add syscall wrapper for flock
authorRich Felker <dalias@aerifal.cx>
Wed, 13 Apr 2011 18:55:26 +0000 (14:55 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 13 Apr 2011 18:55:26 +0000 (14:55 -0400)
commit55b123b5ede22f5c401d2992ae933a2f935dac6c
tree443348271a9d51bf02569ae61fb8d0fd48c27a9d
parent6f0259a4fc7d827db027fe122377687ef780e17c
add syscall wrapper for flock

it should be noted that flock does not mix well with standard fcntl
locking, but nonetheless some applications will attempt to use flock
instead of fcntl if both exist. options to configure or small patches
may be needed. debian maintainers have plenty of experience with this
unfortunate situation...
src/linux/flock.c [new file with mode: 0644]