https://gitlab.synchro.net/sbbs/sbbs/-/commit/9ac720d0168cab074ba4ad0e
Modified Files:
src/sbbs3/main.cpp str.cpp userdat.c
Log Message:
Fix observed crash on a fresh install (no data/user.dat) on Windows XP
Apparently, calling close(-1) on WinXP will cause a crash. Don't do that.
Make closeuserdat() resilient to an un-open file descriptor and use it
instead of close().
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net