• src/uifc/filepick.c

    From Deuc¿@VERT to Git commit to main/sbbs/master on Fri Dec 23 21:22:54 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/62552ccffad6e6c25cdc36c8
    Modified Files:
    src/uifc/filepick.c
    Log Message:
    Don't re-draw the current list (it will be redrawn in the switch statement)

    Fixes SyncTERM SF bug 93
    ---
    ■ 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 Wed Mar 29 16:33:45 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/c4770ca49e929c8f0b30e486
    Modified Files:
    src/uifc/filepick.c
    Log Message:
    Fix GCC 12.2 warning

    warning: `%s' directive writing up to 16384 bytes into a region of size
    between 1 and 16385 [-Wformat-overflow=]
    ---
    þ 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 Thu May 25 19:05:17 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/e5e1506db61831fa3f9e0de2
    Modified Files:
    src/uifc/filepick.c
    Log Message:
    Fix build issue introduced with SCRN_LEFT redefinition in uifc.h
    ---
    ■ 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 Tue Apr 23 00:25:42 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/68ac22afbc1d26fb84985e03
    Modified Files:
    src/uifc/filepick.c
    Log Message:
    Fix strlcpy() not defined warning in Windows build
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thu Mar 19 14:38:35 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/5069b685597827cf411140e9
    Modified Files:
    src/uifc/filepick.c
    Log Message:
    Fix blank drive list in file picker on Windows (ticket 227)

    getdirname() on drive root paths like "A:\" returns "" because it
    looks past the last backslash. At the drive selection level (\\?\),
    use the full path directly so drives display as "A:\", "C:\", etc.

    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thu Apr 23 23:45:46 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/f56fe045cde82e59863347c1
    Modified Files:
    src/uifc/filepick.c
    Log Message:
    uifc: fix MSVC build of filepick.c

    On Windows globi is a function-like macro that forwards to glob, so
    taking its address (globfn = globi) left the identifier undeclared.
    Replace the function-pointer dance with a small fp_glob_call() wrapper
    that invokes glob or globi at the call site, expanding the macro
    normally.

    Also swap strcasecmp for stricmp in cmp_entry_ci() to match the rest
    of uifc (genwrap.h aliases stricmp to strcasecmp on Unix; MSVC has
    stricmp natively).

    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net