• src/xpdev/dirwrap.c dirwrap.h

    From Deuc╨╡ to Git commit to main/sbbs/master on Sat Feb 24 08:45:53 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/3cc9735641f9a0794c959d2c
    Modified Files:
    src/xpdev/dirwrap.c dirwrap.h
    Log Message:
    Looks like that worked... intptr_t the rest.
  • From Rob Swindell (on Debian Linux) 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
  • From Rob Swindell (on Windows 11)@rob@synchro.net 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.
  • From Rob Swindell (on Windows 11)@rob@synchro.net to Git commit to main/sbbs/master on Wed Jan 14 23:55:34 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/9c74dcf0d2b16023a3a05adc
    Modified Files:
    src/xpdev/dirwrap.c dirwrap.h
    Log Message:
    Create paths_are_same() useful on Windows where paths often have mixed slashes

    I'll add case insensitivity later if needed.

    Extra slashes between/after path elements are not handled either.

    Yes, I know I could do some fullpath magic but I wanted something that strictly used string comparisons and I wasn't concerned with relative paths matching absolute paths to the same actual location.