mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-28 00:04:25 +02:00
Fix fallure of erasing & saving server logs (of network drive) issue
Fix #10794
This commit is contained in:
parent
f52c2b022d
commit
990c92540d
@ -133,7 +133,7 @@ void Win32_IO_File::fillCreateParams(DWORD &access, DWORD &share, DWORD &disp, D
|
||||
else
|
||||
{
|
||||
disp = OPEN_ALWAYS; // Open existing file for writing without destroying it or create new
|
||||
|
||||
share |= FILE_SHARE_WRITE;
|
||||
access |= GENERIC_WRITE;
|
||||
attrib |= FILE_FLAG_WRITE_THROUGH; // Write cached data directly to disk (no lazy writer)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user