• src/syncterm/sftp_browser.c

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Apr 24 23:23:52 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/7c17eb442fc8f3f9a01818df
    Modified Files:
    src/syncterm/sftp_browser.c
    Log Message:
    syncterm: include datewrap.h in sftp_browser.c for localtime_r

    MSVC's CRT doesn't ship POSIX localtime_r. xpdev/datewrap.h is the
    project's portable shim for it (used the same way in webget.c:7). sftp_browser.c calls localtime_r in format_mtime() but never pulled
    the header in, so the MSVC build fails with C2065 / implicit-decl.

    Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)