• src/sbbs3/main.cpp str.cpp userdat.c

    From Rob Swindell@1:103/705 to Git commit to sbbs/master on Tue Sep 15 00:09:36 2020
    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 XPApparently, calling close(-1) on WinXP will cause a crash. Don't do that.Make
    closeuserdat() resilient to an un-open file descriptor and use itinstead of close().
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)