Re: [Mingw-w64-public] _access and predefined modes

2021-08-10 Thread Vincent Torri
On Tue, Aug 10, 2021 at 5:56 PM Guy Helmer wrote: > > > On Aug 10, 2021, at 9:28 AM, Vincent Torri wrote: > > > > Hello > > > > according to MSDN (see > > https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/access-waccess?view=msvc-160) > > the valid modes of _access are 0, é, 4 and

Re: [Mingw-w64-public] _access and predefined modes

2021-08-10 Thread Guy Helmer
> On Aug 10, 2021, at 9:28 AM, Vincent Torri wrote: > > Hello > > according to MSDN (see > https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/access-waccess?view=msvc-160) > the valid modes of _access are 0, é, 4 and 6. > > But in io.h, we have : > > #defineF_OK0/* Ch

Re: [Mingw-w64-public] patch to add htonll/ntohll

2021-08-10 Thread LIU Hao
在 2021-08-10 01:18, Michel Zou 写道: I have no idea, I removed them if you think its unavailable. I just checked it for sure. `htonll` is not exported from 'ws2_32.dll'. Therefore the hunk against 'ws2_32.def.in' is definitely incorrect. If these functions are provided as inline functions,

[Mingw-w64-public] _access and predefined modes

2021-08-10 Thread Vincent Torri
Hello according to MSDN (see https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/access-waccess?view=msvc-160) the valid modes of _access are 0, é, 4 and 6. But in io.h, we have : #defineF_OK0/* Check for file existence */ #defineX_OK1/* Check for execute per