The PR fixes the regression due to the saving file API being changecd from POSIX functions to Win32 native API: The old used function "fopen" using "wbc" as argument, according Microsoft document: "w" Opens an empty file for writing. If the given file exists, its contents are destroyed. (https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/fopen-wfopen?view=msvc-160) so to save a 0 length document, it was unecessary to "write nothing" explicitely on disk, since fopen did it for you. Whereas our new implementation which uses Win32 native API passes "OPEN_ALWAYS" - that needs to "write nothing" explicitely. Fix #10699, close #10702
What is Notepad++ ?
Notepad++ is a free (free as in both "free speech" and "free beer") source code editor and Notepad replacement that supports several programming languages and natural languages. Running in the MS Windows environment, its use is governed by GPL License.
See the Notepad++ official site for more information.
Notepad++ Release Key
Since the release of version 7.6.5 Notepad++ is signed using GPG with the following key:
- Signer: Notepad++
- E-mail: don.h@free.fr
- Key ID: 0x8D84F46E
- Key fingerprint: 14BC E436 2749 B2B5 1F8C 7122 6C42 9F1D 8D84 F46E
- Key type: RSA 4096/4096
- Created: 2019-03-11
- Expires: 2024-03-11
https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/nppGpgPub.asc
Supported OS
All the Windows systems still supported by Microsoft are supported by Notepad++. However, not all Notepad++ users can or want to use the newest system. Here is the Supported systems information you may need in case you are one of them.
Build Notepad++
Please follow build guide to build Notepad++ from source.
Contribution
Code contribution is welcome. Here are some rules that your should follow to make your contribution accepted easily.