Skip to content
Snippets Groups Projects
Commit 77a77109 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Don't use flock() in sopen() since it ends up using non-OFD fcntl() locks

When OFD locks are available, that's what we should be using.
Otherwise, we suffer the horrible behavior of POSIX file/region locks and
a subsequent open/close of the file releases any/all locks on it.

This is currently in an !BSD block, which appears to include macOS, but
macOS *does* support OFD locks, so I'll be fixing that here shortly.
parent 6e166f09
Branches
Tags
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment