• src/syncterm/wren_bind_picker.c

    From Deuc¨@VERT to Git commit to main/sbbs/master on Monday, July 20, 2026 11:51:19
    https://gitlab.synchro.net/main/sbbs/-/commit/38d0be706ab43aabdd257a6c
    Modified Files:
    src/syncterm/wren_bind_picker.c
    Log Message:
    picker: preserve filesystem roots during navigation

    On Unix, dirwrap's _fullpath() collapses a path ending in /.. at the
    filesystem root to an empty string. The picker returned that value from
    join() and resolve(), after which list() treated it as the current
    directory and jumped away from the root.

    Centralize the picker's full-path normalization and restore / for that
    Unix result. On Win32, translate an exact drive-root parent such as
    C:\.. to the synthetic \\?\ root so the parent entry returns to the
    drive list, matching the previous UIFC picker.

    Co-Authored-By: OpenAI Codex <noreply@openai.com>

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