[Mingw-w64-public] [PATCH] crt: Remove conversion functions between UTF-{16, 32} characters from MSVCRT

2023-03-24 Thread LIU Hao
-- Best regards, LIU Hao From 544a196787132e0ceae01fe2f0f6c62e76da0e05 Mon Sep 17 00:00:00 2001 From: LIU Hao Date: Fri, 24 Mar 2023 16:38:51 +0800 Subject: [PATCH] crt: Remove conversion functions between UTF-{16,32} characters from MSVCRT Microsoft documentation says these functions operate

[Mingw-w64-public] [PATCH 1/2] headers: Add powerbase.h

2023-03-24 Thread Biswapriyo Nath
From c428f382a5f1eae2573a4050e7ca3fa9c5ec466e Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 24 Mar 2023 21:42:34 +0530 Subject: [PATCH 1/2] headers: Add powerbase.h Required for Java. https://github.com/openjdk/jdk/blob/master/src/hotspot/os/windows/os_windows.cpp Signed-off-by: Bis

[Mingw-w64-public] [PATCH 2/2] headers: Add powersettings.h

2023-03-24 Thread Biswapriyo Nath
From f30a979ddd34b639c3b1b855f8bbf23c993e477d Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 24 Mar 2023 21:44:14 +0530 Subject: [PATCH 2/2] headers: Add powersettings.h Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/powersetting.h | 74 mingw-

Re: [Mingw-w64-public] [PATCH] rewrite the dirname.c and basename.c without wide character processing

2023-03-24 Thread Alvin Wong via Mingw-w64-public
Can we just avoid converting to wide char at all and operate only in MBCS? IsDBCSLeadByte should be enough to allow these functions to skip any false matches on the second byte of double-byte chars. And it does not matter that IsDBCSLeadByte doesn't work with UTF-8, because the UTF-8 encoding a