• src/sbbs3/nopen.c

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Apr 14 17:30:07 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/1080ab0d8a0d5dca15dcbaa2
    Modified Files:
    src/sbbs3/nopen.c
    Log Message:
    Fix new function: fopenlog()

    ftello() returns 0 after fnopen(..., O_APPEND). Use filelength() instead.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Fri Nov 15 16:45:25 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/b9fe6679b94e1bc4dafa6bc3
    Modified Files:
    src/sbbs3/nopen.c
    Log Message:
    Use sopen(... SH_DENYRW) for fmutex() instead of open()

    O_EXCL doesn't appear to be working very reliably over Samba, so let's add
    file locking to the equation.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Fri Nov 15 22:37:59 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/2a4c59134c5de68365babe59
    Modified Files:
    src/sbbs3/nopen.c
    Log Message:
    Fix for Borland C++ build

    Also, don't get hostname unless we're surely going to write to the file.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Mon Nov 18 10:56:33 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/44ce881b07782f3f622d28ea
    Modified Files:
    src/sbbs3/nopen.c
    Log Message:
    We need to initialize the fd to -1 here (since we zero-it out the fmutex_t)

    and might return before setting it to anything else.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Mon Nov 18 11:16:01 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/dec152b4d4ddb260255be6bf
    Modified Files:
    src/sbbs3/nopen.c
    Log Message:
    Fix non-Windows build, broken in previous commit

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