• src/xpdev/filewrap.c

    From rswindell@1:103/705 to CVS commit on Fri Oct 20 20:19:52 2023
    src/xpdev filewrap.c 1.46 1.47
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/home/rswindell/sbbs/src/xpdev

    Modified Files:
    filewrap.c
    Log Message:
    Use "Open file description locks" when available (i.e. Linux 3.15 and later) This variation on fcntl() record-locks resolves multiple-thread / forking
    issue with region locks. No longer falls back to using flock() (whole-file locks), when OFD locks are available and used successfully. At the least,
    this should provide a performance boost for shared files using region
    locks (on Linux). No change for Windows (region locks already worked sanely among multiple threads) and other *nixes (that use POSIX fcntl() locks
    only).


    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Feb 10 22:28:17 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/1f2f00b04b06f3e9d595bb2f
    Modified Files:
    src/xpdev/filewrap.c
    Log Message:
    Fix misleading comment
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)