notepad-plus-plus/PowerEditor
Pavel Nedev a103151774
Fix NUL file-corruption bug after Windows shutdown brutally
Bypass Windows caching when flushing files after write.

According Microsoft documentation this fixes the issues with saved file corruption (all NULs)
on sudden power loss or restart.

Microsoft documentation for reference:
https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/fopen-wfopen?view=vs-2019
https://docs.microsoft.com/en-us/cpp/c-runtime-library/stream-i-o?view=vs-2019

Fix #6133, close #8952
2020-10-06 15:55:41 +02:00
..
Test/FunctionList Integrate unit-tests for function list into appveyor CI 2020-09-07 01:43:06 +02:00
bin Notepad++ v7.9 release 2020-09-28 00:48:14 +02:00
gcc Add new URL parser to replace inaccurate regex detection 2020-10-04 18:42:10 +02:00
installer Add preference for save type of normal text files 2020-10-05 00:26:48 +02:00
misc/chameleon Remove the old icon 2016-09-21 09:06:22 +02:00
scintilla.original.forUpdating Upgrade Scintilla from 4.1.4 to 4.2.0 2019-07-22 13:08:41 +02:00
src Fix NUL file-corruption bug after Windows shutdown brutally 2020-10-06 15:55:41 +02:00
visual.net Add new URL parser to replace inaccurate regex detection 2020-10-04 18:42:10 +02:00