• src/sbbs3/upgrade_to_v319.c

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Apr 4 13:38:22 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/d2733712ffed9a6274784999
    Modified Files:
    src/sbbs3/upgrade_to_v319.c
    Log Message:
    Address Coverity-reported issues

    The use of uninitialized smb.retry_time was worst offender, but not expected to cause any actual issues.

    ---
    ■ 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 Sat Nov 8 19:48:59 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/b54544e7cecacbf516864965
    Modified Files:
    src/sbbs3/upgrade_to_v319.c
    Log Message:
    Eliminate "old filebase" write functions not needed for upgrade to v3.19

    This allows us to remove some dependencies (e.g. hexplus()) in other shared files and still build this old upgrade utility.

    ---
    ■ 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 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