Subj : src/xpdev/filewrap.c To : Git commit to main/sbbs/master From : Rob Swindell (on Debian Linux) Date : Mon Nov 11 2024 01:13:16 https://gitlab.synchro.net/main/sbbs/-/commit/d9d86d6a36f9133ed5b08189 Modified Files: src/xpdev/filewrap.c Log Message: Revert the lock() change in commit 043feff8 So this change is needed or else fcntl() will fail with errno=BADF if trying to write-lock a file that was opened read-only. Oh well. Added a comment explaining the rationale. --- SBBSecho 3.21-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .