https://gitlab.synchro.net/main/sbbs/-/commit/da34adc0ccfdc66d75edaf84
Modified Files:
src/doors/clans-src/src/ibbs.c myibbs.c unix_wrappers.c unix_wrappers.h win_wrappers.c win_wrappers.h
Log Message:
Eliminate all the findfirst/findnext usage
This was a terrible API in DOS, and the re-implementation of the
DOS API using the Win32 and POSIX APIs was just gross.
Replace the whole thing with a function that takes a path and a
wildcard filename and returns an allocated, NULL-terminated char **
instead.
There's still a bit of cleanup around the edges needed here, but
I'll likely do that as part of a code reorganization that moves
functions into a better set of files.
The thing as a whole has not been tested on Windows yet, but the
individual functions were.
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net