From 80547409002668f1c520474c107534d70aa4b1d8 Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Thu, 7 Mar 2013 02:43:33 -0500 Subject: [PATCH] Don't freak out if the file already exists... overwrite it. --- IO/src/FileStreamWin32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IO/src/FileStreamWin32.cpp b/IO/src/FileStreamWin32.cpp index 1816693..e51eb8a 100755 --- a/IO/src/FileStreamWin32.cpp +++ b/IO/src/FileStreamWin32.cpp @@ -66,7 +66,7 @@ public: case eFileMode_Write: case eFileMode_WriteBinary: dwDesiredAccess = GENERIC_WRITE; - dwOpenAction = CREATE_NEW; + dwOpenAction = CREATE_ALWAYS; break; case eFileMode_WriteAppend: