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] Add missing Frames members of struct _WTSINFOA and _WTSINFOW.

2017-02-28 Thread Guy Helmer
; > 2017-02-28 16:00 GMT+01:00 Guy Helmer : >>> From what I understand, WTSINFO was introduced in Vista/Server 2008. I have >>> not found any evidence of changing contents of this structure since it was >>> introduced for Vista/Server 2008. >> >> It appe

Re: [Mingw-w64-public] [PATCH] Add missing Frames members of struct _WTSINFOA and _WTSINFOW.

2017-02-28 Thread Guy Helmer
-4637-0410-b4f5-ada5f102cad1 Regards, Guy > On Feb 28, 2017, at 8:47 AM, Kai Tietz wrote: > > Patch looks right. Weren't those members present for older platforms? > I don't find a hint on that, but might describe why these two fields > are missing. > > Cheers, &g

[Mingw-w64-public] [PATCH] Add missing Frames members of struct _WTSINFOA and _WTSINFOW.

2017-02-28 Thread Guy Helmer
The WTSINFO structure is documented as having IncomingFrames and OutgoingFrames DWORD members after the OutgoingBytes member. --- mingw-w64-headers/include/wtsapi32.h | 4 1 file changed, 4 insertions(+) diff --git a/mingw-w64-headers/include/wtsapi32.h b/mingw-w64-headers/include/wtsapi32.

[Mingw-w64-public] time.h issue with C++ programs

2016-03-05 Thread Guy Helmer
I noticed an issue when compiling some C++ code that made use of localtime_r(): localtime_r() and related prototypes near the bottom of time.h are not in an 'extern "C"' block. I worked around the issue, but perhaps a change to the source would be useful: --- /mingw32/i686-w64-mingw32/include/ti