• Max Kellermann's avatar
    fs/io/FileOutputStream: don't auto-delete file on WIN32 · d38034bb
    Max Kellermann authored
    The file handle is never reset to INVALID_HANDLE_VALUE, and thus the
    destructor will assume the operation shall be cancelled and will
    delete the temporary file.
    
    This was a major breakage for saving the database file and the state
    file.
    d38034bb
FileOutputStream.cxx 2.91 KB