• src/xpdev/dirwrap.c dirwrap.h

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Mon Apr 29 21:35:20 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/bd1e74b826ffa9d534747daf
    Modified Files:
    src/xpdev/dirwrap.c dirwrap.h
    Log Message:
    Add getdircase() - like fexistcase(), but for sub-directory names
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wed Jan 14 15:28:13 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/67381105b1dd796bc1b24a0e
    Modified Files:
    src/xpdev/dirwrap.c dirwrap.h
    Log Message:
    Fix getdircase() for trailing slash

    It would previously always fail if passed a path ending in a / or \
    (including a root directory).

    Now, it always appends a trailing slash to the case-corrected path whether
    it was initially included or not.

    Tested on both Linux and Windows to provide consistent results between them. ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net