• src/sbbs3/xtrn_sec.cpp

    From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Sat Jun 1 18:45:06 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/69ee25bcc41ba5df75337395
    Modified Files:
    src/sbbs3/xtrn_sec.cpp
    Log Message:
    Add support for command-line specifiers in external program 'startup dir'

    The exception is: DOS programs on Linux (e.g. Linux DOSEMU), due to the
    funky drive letter mappng, this can't be supported for those external
    programs.

    As requested by Fluid via IRC, for Frotz support, to store user-unique
    data files in data/user/####.something (e.g. "%juser/%4.zork").
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on ChromeOS)@1:103/705 to Git commit to main/sbbs/master on Sun Mar 23 18:11:53 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/7550784ff7d067f3b418b4e9
    Modified Files:
    src/sbbs3/xtrn_sec.cpp
    Log Message:
    Don't close logfile_fp before running JavaScript externals

    This would've prevented some JS log functions from writing to the node.log file
    (which gets concatented onto the daily "system" log files).

    This just came up via code review while looking into Keyop's reported error: term Node 2 !ERROR 9 (Bad file descriptor) in main.cpp line 4606 (node_thread)
    truncating "logfile" access=0

    This is likely unrelated since the "logfile" is immediately re-opened after executing the external program/script.
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)