• src/sbbs3/xtrn_sec.cpp

    From rswindell@VERT to CVS commit on Sun May 10 15:23:47 2020
    src/sbbs3 xtrn_sec.cpp 1.89 1.90
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv17616

    Modified Files:
    xtrn_sec.cpp
    Log Message:
    Delete the old hard-coded External Program Section (xtrn_sec) implementation. The system must use an external program module (e.g. xtrn_sec.js) now or this function will just display/log an error and exit.


    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Fri Oct 2 19:38:01 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/3209fee4ccbc81050824e696
    Modified Files:
    src/sbbs3/xtrn_sec.cpp
    Log Message:
    (more) Safe string handling

    strcpy -> SAFECOPY
    sprintf -> safe_snprintf or SAFEPRINTF2
    strcat -> SAFECAT

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Tue Nov 17 22:02:53 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/623d9e3d507c9f7db969da88
    Modified Files:
    src/sbbs3/xtrn_sec.cpp
    Log Message:
    Don't reset line counter after executing externals.

    This behavior was cut/pasted from xtrn_sec.js but doesn't play well with logon events (e.g. SBBSIMSG list) that should pause before a following CLS. As reported by altere on the I, the R, and the C.

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbsmaster on Tue Nov 24 19:39:25 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/ae6aede74704558ed3e248d1
    Modified Files:
    src/sbbs3/xtrn_sec.cpp
    Log Message:
    Fix Linux-DOSEMU compile error introduced in previous commit.

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT 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.

    ---
    � 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 Mon Nov 3 20:19:41 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/567d90a2a4d91c0a23c77cff
    Modified Files:
    src/sbbs3/xtrn_sec.cpp
    Log Message:
    White-space oddity fix-up

    Uncrustify did something weird with the indention, it looks like

    ---
    � 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 Sun Jan 11 19:36:10 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/4a2e4e855737213b22f6647f
    Modified Files:
    src/sbbs3/xtrn_sec.cpp
    Log Message:
    Don't include DOSEMU paths in drop files when dosemu support is disabled

    ---
    � 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 Mon Jan 12 20:14:18 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/1d3a1d47e2d1ce97fb811456
    Modified Files:
    src/sbbs3/xtrn_sec.cpp
    Log Message:
    Change "running external" log message to "Executing external"

    to be more consistent with other "Executing ..." log messages.

    ---
    � 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 Jan 17 21:21:42 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/9af0a219627cdb30cd144341
    Modified Files:
    src/sbbs3/xtrn_sec.cpp
    Log Message:
    Save/restore the current socket inactivity timeout value

    Rather than assuming the user is already "online" - this could be called
    during login, logon, or newuser registration which have different max socket inactivity timeout values.

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