Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"I will make no bargains with terrorist hardware." -- Peter da Silva


dovenet / Synchronet Programming / exec/init-fidonet.js exec/load/cfglib.js

SubjectAuthor
o exec/init-fidonet.js exec/load/cfglib.jsRob Swindell (on Windows 11)

1
exec/init-fidonet.js exec/load/cfglib.js

<650DE37F.47760.syncprog@vert.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=1760&group=DOVE-Net.Synchronet_Programming#1760

  copy link   Newsgroups: DOVE-Net.Synchronet_Programming
From: rob.swindell.(on.windows.11)@VERT (Rob Swindell (on Windows 11))
To: Git commit to main/sbbs/master
Subject: exec/init-fidonet.js exec/load/cfglib.js
Message-ID: <650DE37F.47760.syncprog@vert.synchro.net>
Date: Fri, 22 Sep 2023 11:57:03 -0700
X-Comment-To: Git commit to main/sbbs/master
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Programming
X-FTN-PID: Synchronet 3.20a-Linux master/3e1aa12ec Sep 2 2023 GCC 12.2.0
X-FTN-MSGID: 47760.syncprog@1:103/705 2973d40f
X-FTN-CHRS: CP437 2
WhenImported: 20230922115703-0700 c1e0
WhenExported: 20230922141445-0700 c1e0
ExportedFrom: VERT syncprog 47760
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Rob Swindell (on Win - Fri, 22 Sep 2023 18:57 UTC

https://gitlab.synchro.net/main/sbbs/-/commit/8c6fa14a0cd8102649e6979f
Modified Files:
exec/init-fidonet.js exec/load/cfglib.js
Log Message:
Fix "error 13 opening" files when using init-fidonet.js

I finally reproduced this issue myself on a fresh install on Windows.

We needed explicit file closing here as going out of scope doesn't immediately
finalize (and close) a File object. That may not happen until garbage
collection and thus prevent subsequent re-opens of the same files, so always
close() your files.

init-fidonet.js calls install-binkit.js which uses cfglib.js, so that was
a source of these errors too.

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


dovenet / Synchronet Programming / exec/init-fidonet.js exec/load/cfglib.js

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor