• src/xpdev/filewrap.c

    From deuce@VERT to CVS commit on Monday, October 28, 2013 19:11:47
    src/xpdev filewrap.c 1.40 1.41
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv25042

    Modified Files:
    filewrap.c
    Log Message:
    Various fixups.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From deuce@VERT to CVS commit on Tuesday, October 29, 2013 13:10:44
    src/xpdev filewrap.c 1.42 1.43
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv14402

    Modified Files:
    filewrap.c
    Log Message:
    We also need room for the terminator.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Saturday, January 04, 2014 01:34:49
    src/xpdev filewrap.c 1.43 1.44
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv4563

    Modified Files:
    filewrap.c
    Log Message:
    Fix expandtofit() and thus getdelim() (used by SBBSecho as of Oct-29-2013)
    for all builds using 32-bit longs due to numeric integer overflow as reported by GCC ("warning: integer overflow in expression")
    and MSVC ("warning C4307: '+' : integral constant overflow")
    thus causing expandtofit() to always return -1 and getdelim() to always fail.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Saturday, January 04, 2014 01:38:39
    src/xpdev filewrap.c 1.44 1.45
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv4656

    Modified Files:
    filewrap.c
    Log Message:
    Fix MSVC warnings:
    filewrap.c(309): warning C4307: '+' : integral constant overflow filewrap.c(310): warning C4307: '+' : integral constant overflow


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, August 13, 2019 22:59:30
    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).



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, August 30, 2019 19:51:40
    src/xpdev filewrap.c 1.47 1.48
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv30044

    Modified Files:
    filewrap.c
    Log Message:
    Don't use Linux OFD locks in builds without Large File Support because: https://patchwork.kernel.org/patch/9289177/



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, August 30, 2019 19:57:54
    src/xpdev filewrap.c 1.48 1.49
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv30882

    Modified Files:
    filewrap.c
    Log Message:
    If _FILE_OFFSET_BITS is not defined, that also means no LFS support



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Saturday, February 10, 2024 22:28:17
    https://gitlab.synchro.net/main/sbbs/-/commit/1f2f00b04b06f3e9d595bb2f
    Modified Files:
    src/xpdev/filewrap.c
    Log Message:
    Fix misleading comment

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net