BBS: TELESC.NET.BR Assunto: src/sbbs3/putnode.cpp De: Rob Swindell (on Windows 11) Data: Sat, 7 Mar 2026 19:47:07 -0800 ----------------------------------------------------------- https://gitlab.synchro.net/main/sbbs/-/commit/30cdbb4a688b11611693ff8e Modified Files: src/sbbs3/putnode.cpp Log Message: putnodedat() will no longer open the node.dab if it's already open putnodedat() is not supposed to be called without first calling getnodedat() which locks the file (and leaves it open), so having putnodedat() open the file (if not already open) didn't make any sense. Log an error if the file isn't already open instead. This function wasn't locking the node.dab record in this case anyway, so it was broken in that regard. I placed a breakpoint in the open logic here and it never hit, so should be fine to remove. unlocknodedat() will now log an error if called with a unopened nodefile. Also using [F]CLOSE_OPEN_FILE function-like macros to simplify code n --- mSynchronetn hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net ----------------------------------------------------------- [Voltar]