diff options
author | Chris Wilson <chris+github@qwirx.com> | 2006-09-03 23:52:19 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2006-09-03 23:52:19 +0000 |
commit | f2a0eaaedd261b287c11ca29661490c15ef57e72 (patch) | |
tree | b6e522f2840aa9242f2095ac8dbc67ee167414fe /lib/win32 | |
parent | a1ccaaebe529e4c054812c13394b597974c58123 (diff) |
(refs #3)
Request READ_CONTROL when standard open fails, rather than no flags
Diffstat (limited to 'lib/win32')
-rw-r--r-- | lib/win32/emu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/win32/emu.cpp b/lib/win32/emu.cpp index 0239724c..809cfa0e 100644 --- a/lib/win32/emu.cpp +++ b/lib/win32/emu.cpp @@ -716,7 +716,7 @@ HANDLE OpenFileByNameUtf8(const char* pFileName, DWORD flags) // at least one process must have the file open - // in this case someone else does. handle = CreateFileW(pBuffer, - 0, + READ_CONTROL, FILE_SHARE_READ, NULL, OPEN_EXISTING, |