_  _    __    ___  __    ___  _____  _  _
 ( \( )  /__\  / __)(  )  / __)(  _  )( \( )
  )  (  /(__)\( (__  )(__( (__  )(_)(  )  (
 (_)\_)(__)(__)\___)(____)\___)(_____)(_)\_)

The History of Hacking  ·  May 31 – June 2, 2026  ·  Carolina Beach, NC

  • src/uifc/filepick.c

    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