• src/sbbs3/scfgsave.c

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Tue Jan 13 22:28:12 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/f5291caf471a53692cb3d139
    Modified Files:
    src/sbbs3/scfgsave.c
    Log Message:
    Resolve GCC warning about signess mismatch in printf format

    ---
    þ 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 Mon Nov 23 22:45:05 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/95df0c33f42387290e8f4f2e
    Modified Files:
    src/sbbs3/scfgsave.c
    Log Message:
    SCFG: begin each saved config file with a "; Written by" line

    Each configuration file saved by write_cfg_file() (main, node, msgs,
    file, xtrn and chat .ini) now begins with a comment naming the program
    and build that wrote it and when, e.g.:

    ; Written by SCFG v3.22a (master/2d9eaaeb86) 2026-11-23 22:22:04-08:00

    The program is "SCFG" in SCFG's build and "Synchronet" otherwise (e.g. sbbsctrl's Configuration Wizard). The branch and hash are the writing
    program's own build.

    A backup copy of the file keeps the line, so each backup records when
    and by what that version was written, even where its file time cannot
    be preserved (e.g. a copy made by a user other than the file's owner on
    a CIFS mount). With a ctrl directory shared between hosts, the line
    also shows which host's build last saved a file.

    An existing first-line stamp is replaced rather than added to.

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    ---
    þ 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 Tue Nov 24 13:09:38 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/7a1364f7be6e156b8ae91d2c
    Modified Files:
    src/sbbs3/scfgsave.c
    Log Message:
    SCFG: don't write file.ini/msgs.ini without a dir or sub that failed

    When the ini section for a file directory (or message sub-board) could
    not be built, write_file_cfg() and write_msgs_cfg() set their result to
    false and continued, but the result of writing the file overwrote it. The
    file was then written without that directory or sub-board and the save
    reported success, dropping it from the configuration. Both functions now
    return false without writing the file, leaving the existing one intact.

    Coverity CID 662569.

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    ---
    þ 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 25 17:19:33 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/dd4c05bcbc32f64f0ce7ab0a
    Modified Files:
    src/sbbs3/scfgsave.c
    Log Message:
    SCFG: drop dead store of result on smb_open() failure in write_msgs_cfg()

    When a changed sub-board's message base could not be opened to update its status header limits, write_msgs_cfg() set result to false and continued,
    but result is unconditionally overwritten by the msgs.ini write. The
    failure was already ignored in effect, as are the lock, getstatus and
    putstatus failures in the same block, so remove the misleading store.

    Coverity CID 662596.

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

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