Skip to content
Snippets Groups Projects
Commit 35785af3 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

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().
parent 4efd95e3
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment