• src/syncterm/syncterm.c src/xpdev/dirwrap.c ini_file.c

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Tue Sep 30 10:03:32 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/2c53c325c0cf8efec893859a
    Modified Files:
    src/syncterm/syncterm.c src/xpdev/dirwrap.c ini_file.c
    Log Message:
    More optimizations

    Replace some
    sprintf(dst, "%.*s", len, src) calls with
    strlcpy(dst, src, sz)

    Gets another 8% performance squeeze, and is the last obvious thing to
    improve for INI parsing. It's almost completely truncsp(),
    SKIP_WHITESPACE() and strnicmp() now, which is as it should be.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)