Core/FileImpl: Remove implicit region locking (Windows)
This commit is contained in:
parent
dfc441c2fc
commit
5fe782bd46
|
|
@ -191,9 +191,7 @@ namespace Nz
|
|||
LARGE_INTEGER cursorPos;
|
||||
cursorPos.QuadPart = GetCursorPos();
|
||||
|
||||
LockFile(m_handle, cursorPos.LowPart, cursorPos.HighPart, static_cast<DWORD>(size), 0);
|
||||
WriteFile(m_handle, buffer, static_cast<DWORD>(size), &written, nullptr);
|
||||
UnlockFile(m_handle, cursorPos.LowPart, cursorPos.HighPart, static_cast<DWORD>(size), 0);
|
||||
|
||||
m_endOfFileUpdated = false;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue