Re: [Mingw-w64-public] [PATCH 00/10] crt: dirent changes

2025-02-12 Thread Martin Storsjö
On Thu, 16 Jan 2025, Lasse Collin wrote: This series has a few errno handling fixes, error checking fixes, best-fit mapping avoidance, "long path aware" support, and minor cleanups. There has been some discussion about best-fit issues in the "getmainargs changes" thread and on IRC. I wonder how

Re: [Mingw-w64-public] [PATCH 03/10] crt: dirent: Fix errno usage

2025-02-12 Thread Lasse Collin
On 2025-02-12 Martin Storsjö wrote: > On Thu, 16 Jan 2025, Lasse Collin wrote: > > > The dirent functions are defined in POSIX, and POSIX clearly > > specifies that no POSIX function shall set errno to zero. > > Hmm, I haven't dug very deep for references around this, but a quick > google gave

Re: [Mingw-w64-public] [PATCH 03/10] crt: dirent: Fix errno usage

2025-02-12 Thread Martin Storsjö
On Thu, 16 Jan 2025, Lasse Collin wrote: The dirent functions are defined in POSIX, and POSIX clearly specifies that no POSIX function shall set errno to zero. Hmm, I haven't dug very deep for references around this, but a quick google gave me this: https://softwareengineering.stackexchange

Re: [Mingw-w64-public] [RFC PATCH 2/2] crt: Merge lib32/ws2_32.def into lib-common/ws2_32.def.in

2025-02-12 Thread Martin Storsjö
On Wed, 29 Jan 2025, Pali Rohár wrote: On Monday 30 December 2024 22:48:25 Pali Rohár wrote: On Sunday 29 December 2024 17:46:22 Martin Storsjö wrote: On Sat, 14 Dec 2024, Pali Rohár wrote: Now all I386 symbols in lib-common/ws2_32.def.in file are defined with stdcall @ suffixes. These suffi