• src/sbbs3/upgrade_to_v319.c

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sat Nov 8 19:48:59 2025
    ----==_mimepart_69109cb38f643_144442ddf8a1d19a097965
    Content-Type: text/plain; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    Hi,

    Please find the latest report on new defect(s) introduced to Synchronet found with Coverity Scan.

    1 new defect(s) introduced to Synchronet found with Coverity Scan.
    4 defect(s), reported by Cov
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wed May 27 22:35:57 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/46e06da739b2b3cb36eb403a
    Modified Files:
    src/sbbs3/upgrade_to_v319.c
    Log Message:
    upgrade_to_v319: refuse to clobber already-upgraded file bases

    After smb_open(), check smb.status.total_msgs and skip any dir with
    existing files; require -f on the command line to force overwrite.
    Previously the tool unconditionally re-ran smb_create() on every dir, destroying populated SMB file bases when re-run on an upgraded system.

    Also remove the unused overwrite() helper and add -h/-? usage.

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

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