From rswindell@1:103/705 to CVS commit on Mon Sep 2 03:27:36 2019
src/sbbs3 js_system.c 1.175 1.176 scfgdefs.h 1.51 1.52
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv14321
Modified Files:
js_system.c scfgdefs.h
Log Message:
Storing the node file (node.dab) descriptor in the scfg_t was a "bad idea" {tm} The scfg_t instances are often shared between threads and we can't really share file descriptors between threads, so we ended up with file descriptor leaks and race conditions.
Instead, define/allocate/free a new js_system_private_t where the scfg_t* and the nodefile (descriptor) are kept - per "system" instance.