BBS:      TELESC.NET.BR
Assunto:  src/syncterm/wren_bind_fs.c
De:       Deuc¨
Data:     Thu, 30 Apr 2026 00:51:52 -0700
-----------------------------------------------------------
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) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

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