• exec/load/cnflib.js

    From rswindell@1:103/705 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.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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 filesSome unused/padding bytes are written as 0xff, so don't build strings fromthose chars.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)