• src/sbbs3/scfg/scfg.c

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sat Jul 18 22:02:56 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/a142cd4f11463deb7412b302
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    SCFG: recognize *subs.txt/*subs.ini by suffix for -import= detection

    determine_msg_list_type() (used by the -import= command line to pick a
    format from the filename) matched "subs.txt" exactly and didn't know
    about *subs.ini at all - so a *subs.ini file fell through to the
    backbone.na parser.

    But a group's *subs.ini export is named after the group's code prefix or
    short name (e.g. DOVEsubs.ini, DOVE-Net_subs.ini), which an exact match
    can't catch. Match the "*subs.txt" and "*subs.ini" suffixes with
    wildmatchi() instead, so -import= detects either format regardless of the group-specific prefix. wildmatchi()'s '*' matches zero-or-more, so a
    bare subs.txt still matches.

    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

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