Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config.h: fix incorrect defines for _wopen()
This is a regression from commit 0134184 ("add basic CMake based build") S_IRUSR and S_IWUSR should NOT be defined as 0 but as _S_IREAD and _S_IWRITE, as it was already fixed in commit 077445d ("Fix some more wrong defines in config-msvc.h") Those are used as permission mode when opening a file. Passing zero makes file read-only, which break for example --status-file functionality. Github: fixes #454 Trac: #1430 Change-Id: I53eaee85d7b284af6bc63da5f6d8f310ddd96c47 Signed-off-by: Lev Stipakov <[email protected]> Acked-by: Gert Doering <[email protected]> Message-Id: <[email protected]> URL: https://www.mail-archive.com/[email protected]/msg27393.html Signed-off-by: Gert Doering <[email protected]> (cherry picked from commit 2fcfb77)
- Loading branch information