• docs/v322_new.md src/sbbs3/xtrn.cpp

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Fri Dec 4 23:00:54 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/ad825cc27d62e15e433a5898
    Modified Files:
    docs/v322_new.md src/sbbs3/xtrn.cpp
    Log Message:
    cmdstr(): quote arguments containing a directory with a space

    A command-line argument built from a lowercase %g, %j, %k, %n or %z, or a
    %! or %@, is now wrapped in double-quotes when that directory's path
    contains a space or another SHELL_QUOTE_CHARS character, e.g.
    "/PATH=C:\Program Files\sbbs\node1\\". The whole space-delimited argument
    is quoted, not just the directory, since these specifiers usually prefix
    a filename (%!syspage.wav, %ndoor.sys) and both CreateProcess() (for the program path) and js_execfile() only honor a quote that starts an
    argument.

    For native Windows programs, trailing backslashes inside the quotes are doubled: the C run-time's argv parser otherwise reads the closing \" as
    an escaped quote. ?/* modules don't get the doubling; js_execfile()
    gives backslashes no special meaning.

    Arguments that already contain a double-quote are left alone, so
    hand-quoted command lines (e.g. /PATH="%n.") keep working. DOS programs
    are not quoted, and the uppercase forms (%G, %J, %K, %N, %Z) remain
    unquoted, matching the existing %a/%A, %f/%F, %o/%O convention.

    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 Sun Dec 6 00:25:26 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/057fc2259b640d0775bbc01c
    Modified Files:
    docs/v322_new.md src/sbbs3/xtrn.cpp
    Log Message:
    external(): drop the unreachable double-quote handling from the splitter

    7173641281 (statute-19-nobody, 2026-09-20) taught the *nix argument
    splitter to honor and remove double-quotes, on the premise that a
    quoted command line runs without a shell. It never does: a line
    containing a double-quote is run through sh -c instead. Remove the
    quote toggle and correct the comment, keeping the collapsing of runs of
    spaces, and drop the release-note sentence that made the same claim.

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

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