mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
e6796b67d9
after the acquisition of any advisory locks. This fix corrects a case in which a process tries to open a file with a non-blocking exclusive lock. Even if it fails to get the lock it would still truncate the file even though its open failed. With this change, the truncation is done only after the lock is successfully acquired. Obtained from: BSD/OS |
||
---|---|---|
.. | ||
ccd.c |