• src/syncterm/CHANGES term.c

    From Deuc¿@VERT to Git commit to main/sbbs/master on Fri Oct 18 11:42:23 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/8624486fc150f7ebb01543c3
    Modified Files:
    src/syncterm/CHANGES term.c
    Log Message:
    Fix cache subdirectories on Windows.

    Windows appears to treat backslashes and slashes the same when
    using the API, but Windows always returns backslashes. Convert
    backslashes to slashes in clean_path() to ensure paths compare the
    same regardless of them being specified with backslashes or slashes.

    There's still an open question of what to do about paths received
    from the remote with backslashes in them, but I suspect that doing
    that would actually work on *nix systems and break on Windows systems,
    so hopefully whoever does that can fogure out what's going on.
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net