• src/xpdev/dirwrap.c dirwrap.h

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Thursday, March 24, 2022 23:14:29
    https://gitlab.synchro.net/main/sbbs/-/commit/ce74d0e03cfee182d4c3894f
    Modified Files:
    src/xpdev/dirwrap.c dirwrap.h
    Log Message:
    Introduce case-insensitive version of glob(): globi()

    glob() is case-insensitive on Windows already, so create a work-alike for *nix.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Saturday, February 24, 2024 08:45:53
    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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Monday, April 29, 2024 21:35:20
    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 Wednesday, January 14, 2026 15:28:13
    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
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wednesday, January 14, 2026 23:55:34
    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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net