• src/sbbs3/ftpsrvr.c js_system.c mailsrvr.c sbbscon.c scfgdefs.h scfgsave.c userdat.c userdat.h

    From rswindell@VERT to CVS commit on Saturday, August 31, 2019 22:23:55
    src/sbbs3 ftpsrvr.c 1.493 1.494 js_system.c 1.174 1.175 mailsrvr.c 1.711 1.712 sbbscon.c 1.274 1.275 scfgdefs.h 1.50 1.51 scfgsave.c 1.88 1.89 userdat.c 1.218 1.219 userdat.h 1.73 1.74
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv29123

    Modified Files:
    ftpsrvr.c js_system.c mailsrvr.c sbbscon.c scfgdefs.h
    scfgsave.c userdat.c userdat.h
    Log Message:
    Update the C getnodedat/putnodedat API to not require that the node file (ctrl/node.dab) is constantly closed and re-opened for every non-locking read. This is really slow across network file systems and unnecessary, so use a similar optimization as the C++ sbbs_t class where the file can (and normally is) left open across multiple consecutive reads.
    Create/use opennodedat() function.
    Uses the new CLOSE_OPEN_FILE() macro from xpdev/filewrap.h.


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