• 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 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
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sun Nov 30 16:03:59 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/77a1549c76f1a911944d41bd
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Zero-initialize the login_state member variable

    This fixes issue #1009 (logging details of connections that had no login/logon)

    ---
    þ 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 Tue Dec 30 16:39:35 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/4a2c2c708c57d0aa2d3a69d3
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Make sbbs_t::online and sys_static atomic member variables

    Since sbbs_t::online and sys_status are modified and checked in different threads, they really should've been atomic or at least volatile to prevent
    the compiler-optimizer from using the current/updated values at all times.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Rob Swindell (on Windows 11) on Tue Dec 30 16:49:39 2025
    Re: src/sbbs3/sbbs.h
    By: Rob Swindell (on Windows 11) to Git commit to main/sbbs/master on Tue Dec 30 2025 04:39 pm

    Since sbbs_t::online and sys_status are modified and checked in different threads, they really should've been atomic or at least volatile to prevent the compiler-optimizer from using the current/updated values at all times.

    that should read: prevent the compiler-optimizer from *not* using ...
    --
    digital man (rob)

    Steven Wright quote #25:
    If at first you don't succeed, destroy all evidence that you tried.
    Norco, CA WX: 66.8øF, 27.0% humidity, 7 mph ESE wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net