BBS:      TELESC.NET.BR
Assunto:  src/uifc/filepick.c
De:       Deuc¨
Data:     Thu, 23 Apr 2026 23:45:46 -0700
-----------------------------------------------------------
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) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]