[Mingw-w64-public] [PATCH] headers: _FORTIFY_SOURCE: Add _[w][s]open() and [s]open().

2019-09-29 Thread Christian Franke
Calling open("foo", O_WRONLY|O_CREAT) without 3rd argument may (pseudo-)randomly set FILE_ATTRIBUTE_READONLY on the new file. With the attached patch, the attribute is always set in this case to show that something is wrong. A compile time warning is printed if possible. I'm not yet sure how

Re: [Mingw-w64-public] [PATCH] include/libloaderapi{, 2}.h: Don't mistake `BOOL` for, `WINBOOL`.

2019-09-29 Thread Liu Hao
在 2019/9/29 21:50, JonY via Mingw-w64-public 写道: > On 9/29/19 9:57 AM, Liu Hao wrote: >> > > Patch OK. > > > Thanks. Pushed. -- Best regards, LH_Mouse signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list

Re: [Mingw-w64-public] [PATCH] include/libloaderapi{, 2}.h: Don't mistake `BOOL` for, `WINBOOL`.

2019-09-29 Thread JonY via Mingw-w64-public
On 9/29/19 9:57 AM, Liu Hao wrote: > Patch OK. signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

[Mingw-w64-public] [PATCH] include/libloaderapi{, 2}.h: Don't mistake `BOOL` for, `WINBOOL`.

2019-09-29 Thread Liu Hao
-- Best regards, LH_Mouse From 6b82d31b2a23d2930887d9e02d1a90885cb7dddb Mon Sep 17 00:00:00 2001 From: Liu Hao Date: Sun, 29 Sep 2019 17:54:19 +0800 Subject: [PATCH] include/libloaderapi{,2}.h: Don't mistake `BOOL` for `WINBOOL`. Objective-C has its own `BOOL` type which differs from the