• src/sbbs3/userdat.c userdat.h

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Monday, November 03, 2025 20:19:41
    https://gitlab.synchro.net/main/sbbs/-/commit/cffd380eed5827ccf109521d
    Modified Files:
    src/sbbs3/userdat.c userdat.h
    Log Message:
    Add xtrn_is_running() function

    Helpful for easy determination if the specified external program is running (for a node) or not.
    --- SBBSecho 3.31-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Wednesday, December 17, 2025 21:37:22
    https://gitlab.synchro.net/main/sbbs/-/commit/48922a15c6cb43b450835340
    Modified Files:
    src/sbbs3/userdat.c userdat.h
    Log Message:
    logoutuserdat() uses new function fputuserdat() to reduce open/lock/r/w ops

    Reduces from 4 to 1 the open/lock/read/write/close operatons of the userbase (user.tab) file upon user log-off.

    There's more places in sbbs where we do a lot of putuser* calls that could be (now) optimized in a similar fashion, but logoutuserdat() is called often (especially by the web, ftp, mail and services servers), so this one was obvious place to reduce contention on the userbase file.
    --- SBBSecho 3.33-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)