[Mingw-w64-public] [PATCH] headers: Add new constants in winnt.rh

2025-02-17 Thread Biswapriyo Nath
From 4d8c296500a5f24cdaffda847c76b75ef9ec5fe1 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 18 Feb 2025 06:39:53 + Subject: [PATCH] headers: Add new constants in winnt.rh Required for https://github.com/TypesettingTools/Aegisub/blob/v3.4.2/src/res/strings_utf8.rc#L60 Reported he

Re: [Mingw-w64-public] [PATCH 11/15] crt: Remove usage of CRTDLL macro

2025-02-17 Thread Pali Rohár
On Thursday 13 February 2025 19:51:12 Pali Rohár wrote: > On Thursday 13 February 2025 14:26:30 Martin Storsjö wrote: > > On Fri, 7 Feb 2025, Pali Rohár wrote: > > > > > This macro is used only on few places in .c files, not in .h files. > > > So remove its usage and dead code. > > > --- > > > min

Re: [Mingw-w64-public] [PATCH 04/15] crt: Guard nested _CRT_INIT(DLL_PROCESS_DETACH) call for DLL builds

2025-02-17 Thread Pali Rohár
On Monday 17 February 2025 13:13:29 Martin Storsjö wrote: > On Thu, 13 Feb 2025, Pali Rohár wrote: > > > On Thursday 13 February 2025 14:16:06 Martin Storsjö wrote: > > > On Fri, 7 Feb 2025, Pali Rohár wrote: > > > > > > > This will report runtime error if _CRT_INIT(DLL_PROCESS_DETACH) is > > >

Re: [Mingw-w64-public] dirent changes

2025-02-17 Thread Pali Rohár
On Monday 17 February 2025 17:37:17 Lasse Collin wrote: > On 2025-02-16 Pali Rohár wrote: > > On Sunday 16 February 2025 19:32:24 Lasse Collin wrote: > > > (There's no lstat() to detect symlinks or readlink() to read them.) > > > > I know. Maybe for future it would be nice to have lstat() call. >

Re: [Mingw-w64-public] dirent changes

2025-02-17 Thread Lasse Collin
On 2025-02-16 Pali Rohár wrote: > On Sunday 16 February 2025 19:32:24 Lasse Collin wrote: > > (There's no lstat() to detect symlinks or readlink() to read them.) > > I know. Maybe for future it would be nice to have lstat() call. > Implementation can be straightforward, open path as reparse point,

Re: [Mingw-w64-public] [PATCH] Update of Hyper-V APIs

2025-02-17 Thread Marc-André Lureau
Hi On Sun, Feb 16, 2025 at 3:57 PM LIU Hao wrote: > > Hello, > > This series of patches are the reply to a request from Microsoft for an > update of our headers of > Hyper-V APIs [1] to match their documentation [2]. > > I have tried compiling these new headers with GCC targeting x86-64, and wit

Re: [Mingw-w64-public] [PATCH 04/15] crt: Guard nested _CRT_INIT(DLL_PROCESS_DETACH) call for DLL builds

2025-02-17 Thread Martin Storsjö
On Thu, 13 Feb 2025, Pali Rohár wrote: On Thursday 13 February 2025 14:16:06 Martin Storsjö wrote: On Fri, 7 Feb 2025, Pali Rohár wrote: This will report runtime error if _CRT_INIT(DLL_PROCESS_DETACH) is called by the current thread from some atexit_table hook. Btw, I forgot to ask; how wou