Subj : src/xpdev/filewrap.c To : Git commit to main/sbbs/master From : Rob Swindell (on Debian Linux) Date : Mon Dec 02 2024 20:29:33 https://gitlab.synchro.net/main/sbbs/-/commit/77a771095c72121700e96ca2 Modified Files: src/xpdev/filewrap.c Log Message: 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. --- þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net .