• src/sbbs3/scfg/scfg.c src/sbbs3/scfgsave.c

    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/7cac4af6d0ccbef890040401
    Modified Files:
    src/sbbs3/scfg/scfg.c src/sbbs3/scfgsave.c
    Log Message:
    SCFG: report a configuration file that could not be saved

    SCFG ignored the result of every configuration file save, so a failed
    save lost the sysop's changes without a word. Saving can now also fail
    when another program keeps the file locked longer than fnopen() waits.

    The save_*_cfg() wrappers, which every SCFG menu saves through, now show
    "ERROR <errno> (<reason>) writing <file>" when the write fails, and
    scfg -import prints the error and exits with a failure status instead of printing "done.".

    write_msgs_cfg() now returns as soon as msgs.ini fails to be written,
    without going on to apply the mail base settings, so errno still
    describes the write when it is reported.

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

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