Skip to content

Conversation

loops
Copy link

@loops loops commented Oct 1, 2025

As per the fcntl(2) manpage, EACCES can also be returned to indicate lock contention. This needs to be returned properly to DOS.

What issue(s) does this PR address?

Without this change file locking is broken on Linux.

Does this PR introduce any breaking change(s)?

Hopefully just a fixing change ;-)

Additional information

This bug is minor, and mostly this project has been a dream to use. Thanks for all your hard work!

As per the fcntl(2) manpage, EACCES can also be returned to
indicate lock contention.  This needs to be returned properly
to DOS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant