• src/xpdev/filewrap.h

    From rswindell@VERT to CVS commit on Saturday, August 31, 2019 22:16:21
    src/xpdev filewrap.h 1.38 1.39
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv27652

    Modified Files:
    filewrap.h
    Log Message:
    New useful function-like macro: CLOSE_OPEN_FILE(fd), conditionally closes
    the file and sets the descriptor to -1 (if not already < 0).



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thursday, May 20, 2021 10:02:41
    https://gitlab.synchro.net/main/sbbs/-/commit/27c79cad3318dff6889f8318
    Modified Files:
    src/xpdev/filewrap.h
    Log Message:
    Create a Win32 wrapper for mkstemp() as MSVC doesn't have it

    SBBSecho uses mkstemp() now (instead of tempnam()) - so we need this POSIX function wrapper for Windows builds to succeed.

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