-
- Downloads
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.
Showing
- src/sbbs3/ftpsrvr.c 1 addition, 1 deletionsrc/sbbs3/ftpsrvr.c
- src/sbbs3/js_system.c 17 additions, 5 deletionssrc/sbbs3/js_system.c
- src/sbbs3/mailsrvr.c 2 additions, 2 deletionssrc/sbbs3/mailsrvr.c
- src/sbbs3/sbbscon.c 4 additions, 3 deletionssrc/sbbs3/sbbscon.c
- src/sbbs3/scfgdefs.h 2 additions, 0 deletionssrc/sbbs3/scfgdefs.h
- src/sbbs3/scfgsave.c 4 additions, 3 deletionssrc/sbbs3/scfgsave.c
- src/sbbs3/userdat.c 51 additions, 30 deletionssrc/sbbs3/userdat.c
- src/sbbs3/userdat.h 3 additions, 2 deletionssrc/sbbs3/userdat.h
Loading
Please register or sign in to comment