Re: [Mingw-w64-public] getmainargs changes

2025-01-12 Thread Pali Rohár
On Sunday 12 January 2025 21:09:38 Lasse Collin wrote: > On 2025-01-10 Pali Rohár wrote: > > Then there is an issue that argv[i] is suppose to be filename argument > > and even after the correct splitting of cmd-to-argv[], due to the > > bestfit, the argv[i] describes other file than the original o

Re: [Mingw-w64-public] getmainargs changes

2025-01-12 Thread Lasse Collin
On 2025-01-10 Pali Rohár wrote: > Then there is an issue that argv[i] is suppose to be filename argument > and even after the correct splitting of cmd-to-argv[], due to the > bestfit, the argv[i] describes other file than the original one in > wargv[i]. I was thinking more about this issue... but n

Re: [Mingw-w64-public] [PATCH 6/6] crt: Enable _create_locale.c, _free_locale.c and _get_current_locale.c for all pre-msvcr80 import libraries

2025-01-12 Thread LIU Hao
在 2025-01-13 01:12, Jacek Caban 写道: Looking at the git log, I found these locale symbols were added to satisfy libc++ with msvcrt-os. Since libc++ is part of the toolchain, it often pulls symbols even when they’re not actually needed. So, I guess libc++ could be a reason to extend this to other

Re: [Mingw-w64-public] [PATCH 6/6] crt: Enable _create_locale.c, _free_locale.c and _get_current_locale.c for all pre-msvcr80 import libraries

2025-01-12 Thread Jacek Caban
On 10.01.2025 21:39, Pali Rohár wrote: On Thursday 09 January 2025 15:58:11 Jacek Caban wrote: On 8.01.2025 21:40, Pali Rohár wrote: With the previous change, these 3 files can be compiled and included also for non-msvcrt-os import library. --- mingw-w64-crt/Makefile.am | 3 +++ 1 file cha

Re: [Mingw-w64-public] [PATCH 2/2] crt: wctob: Fix return value for negative char values

2025-01-12 Thread LIU Hao
在 2025-01-12 00:53, Lasse Collin 写道: --- mingw-w64-crt/misc/wctob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-crt/misc/wctob.c b/mingw-w64-crt/misc/wctob.c index d694cb527..b19effb99 100644 --- a/mingw-w64-crt/misc/wctob.c +++ b/mingw-w64-crt/misc/wctob.c @@