• exec/load/cnflib.js

    From rswindell@VERT to CVS commit on Sun Mar 15 01:47:52 2020
    exec/load cnflib.js 1.14 1.15
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv15194

    Modified Files:
    cnflib.js
    Log Message:
    Make the write() method more tolerant of a script that is in the process
    of being terminated (e.g. user hitting Ctrl-C in jsexec) - don't open
    and truncate the .cnf file if we're going to exit with an exception
    anyway and likely leave a 0-byte .cnf file behind.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Jul 14 17:52:28 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/5615e656c54bb68df068c735
    Modified Files:
    exec/load/cnflib.js
    Log Message:
    Strip 0xff chars from strings read from .cnf files

    Some unused/padding bytes are written as 0xff, so don't build strings from those chars.
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net