Merge branch 'io-sharing' into TemporaryHackishBranch

This commit is contained in:
LunaMoo committed 2019-08-10 17:56:51 +02:00
commit f003016a7d
1 file changed
+1 -1
+1 -1
View File
@@ -213,7 +213,7 @@ bool DirectoryFileHandle::Open(const std::string &basePath, std::string &fileNam
}
if (access & FILEACCESS_WRITE) {
desired |= GENERIC_WRITE;
sharemode |= FILE_SHARE_WRITE;
sharemode |= FILE_SHARE_WRITE | FILE_SHARE_READ;
}
if (access & FILEACCESS_CREATE) {
if (access & FILEACCESS_EXCL) {