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

    From Rob Swindell@VERT to Git commit to sbbs/master on Tuesday, September 15, 2020 00:09:36
    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