• src/sbbs3/sbbs.h

    From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Mon Jun 26 12:23:25 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/461682fbbc3196ae2a2d5fc3
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Thread-safe wrappers for std/socket errno description getters for sbbs_t

    These should only be used in the sbbs_t methods called by node_thread or event_thread. Any other thread-shared sbbs_t instances should not use these methods since they share a single error description string buffer.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wed Oct 25 21:19:54 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/492a8506b3389c25d8d80823
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Need explicit include of string header here for G++, wasn't needed for MSVC

    ---
    ■ 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 Thu Oct 26 01:16:20 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/329f740f9eb51f7d598454d6
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Don't try to include modern C++ headers when building C++ Builder

    C++ Builder6 doesn't have unordered_map, so only #include those std C++
    headers if/where we actually need them.

    ---
    ■ 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 Wed Nov 22 15:30:20 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/6025299141fa32141265201b
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Fix CID 469129 and 469141 using std::atomic<>

    Unlikely, but valid thread-safety concerns by Coverity

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wed Nov 22 15:53:05 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/e0cef49cc0c560a43da814b3
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Fix gcc/clang build error

    std::atomic's need to be brace-initialized, or else we fail with
    "use of deleted function" errors

    Odd that MSVC built it just fine.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Thu Feb 15 23:02:56 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/174875d641601dd475b00280
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Use the do/while(0) trick to eliminate warnings w/use of SAEFCOPY_UTF8

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Tue Feb 20 16:35:40 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/1791c0b26db64308633520bb
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Unhack mingw32 hack for mingw32-w64

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Tue Feb 27 14:43:25 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/7e505d6f3e00a839a4937f35
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Name structs to attempt to silence warnings from GCC.

    It seems that GCC is concerned that we can't create a sftp_dirdescriptor_t
    or sftp_filedescriptor_t?

    ---
    ■ 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 Thu Nov 14 22:43:20 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/3e82eb94c86e2d87c8570e77
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    sbbs_t::fremove() will now, by default, ignore (not log) ENOENT errors

    ENOENT = "No such file or directory"

    Passing 'true' for the optional 'log_all_errors' parameter overrides this
    (logs all errors, including ENOENT).

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