Subj : src/xpdev/filewrap.c To : Git commit to main/sbbs/m From : Rob Swindell (on Debian L Date : Sun Nov 10 2024 23:52:00 https://gitlab.synchro.net/main/sbbs/-/commit/043feff892a3a206ed12e9cf Modified Files: src/xpdev/filewrap.c Log Message: Log a build warning if building for Linux without OFD lock support OFD locks are needed on Linux for appropriate multi-threaded shared file access (using fcntl record locks to prevent corruption), so log a warning if building for Linux without that support. lock() now mimics DOS/Windows again: the result lock is an "all access" lock regardless of what mode the file was open in. I'm not sure why this change was made (commit 11b73134563ce26), but I don't think it was necessary or appropriate (though I can't think of any immediate negative effects). At minimum it makes the code a little more understandable and eliminates an extra call to fcntl(). --- þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net .