• src/syncterm/wren_bind_fs.c

    From Deuc¨@VERT to Git commit to main/sbbs/master on Thu Apr 30 00:51:52 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/0ffa68636a445578a897c17d
    Modified Files:
    src/syncterm/wren_bind_fs.c
    Log Message:
    SyncTERM: drop POSIX stat from Wren fs binding (MSVC link fix)

    Directory.contains used stat() + S_ISREG to gate "is regular file";
    S_ISREG isn't defined on MSVC, so the Windows build linked with an
    unresolved external for _S_ISREG. Replace with the portable xpdev
    combo fexist() + !isdir().

    While here, swap the two struct-stat-for-size queries in File.size
    and file_map_for_hash for flength() Ä same cross-platform reasoning.

    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

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