bitwiseworks / libcx

kLIBC Extension Library
GNU Lesser General Public License v2.1
11 stars 1 forks source link

flock() #80

Open SilvanScherrer opened 4 years ago

SilvanScherrer commented 4 years ago

It seems flock doesnt work like on posix. At least i have a testcase where a LOCK_SH cant be updated to a LOCK_EX. Another issue seem that when LOCK_SH is set i cant write to the file. Heimdal has a testcase for that. And commit https://github.com/bitwiseworks/heimdal-os2/commit/eef9bc19ffe4368d71b76db8f8309468573bab6b works around it.