Re: [Mingw-w64-public] [PATCH] headers: Fix the signature of wcstok() for UCRT in string.h

2023-02-19 Thread Martin Storsjö
On Sun, 19 Feb 2023, LIU Hao wrote: 在 2023-02-19 17:03, Martin Storsjö 写道: On Mon, 13 Feb 2023, Martin Storsjö wrote: This was fixed in wchar.h in 7a2c4749ecbd8d99e0f0b6bcc2737dd36e4a2341 in 2021, but this function can be declared by either string.h or wchar.h - thus fix the other case to be

Re: [Mingw-w64-public] [PATCH] headers: Fix the signature of wcstok() for UCRT in string.h

2023-02-19 Thread LIU Hao
在 2023-02-19 17:03, Martin Storsjö 写道: On Mon, 13 Feb 2023, Martin Storsjö wrote: This was fixed in wchar.h in 7a2c4749ecbd8d99e0f0b6bcc2737dd36e4a2341 in 2021, but this function can be declared by either string.h or wchar.h - thus fix the other case to be consistent too. Signed-off-by: Martin

Re: [Mingw-w64-public] [PATCH] headers: Fix the signature of wcstok() for UCRT in string.h

2023-02-19 Thread Martin Storsjö
On Mon, 13 Feb 2023, Martin Storsjö wrote: This was fixed in wchar.h in 7a2c4749ecbd8d99e0f0b6bcc2737dd36e4a2341 in 2021, but this function can be declared by either string.h or wchar.h - thus fix the other case to be consistent too. Signed-off-by: Martin Storsjö --- mingw-w64-headers/crt/stri

[Mingw-w64-public] [PATCH] headers: Fix the signature of wcstok() for UCRT in string.h

2023-02-12 Thread Martin Storsjö
This was fixed in wchar.h in 7a2c4749ecbd8d99e0f0b6bcc2737dd36e4a2341 in 2021, but this function can be declared by either string.h or wchar.h - thus fix the other case to be consistent too. Signed-off-by: Martin Storsjö --- mingw-w64-headers/crt/string.h | 4 1 file changed, 4 insertions(+

Re: [Mingw-w64-public] [PATCH] headers: Fix the signature of wcstok() for UCRT

2021-03-02 Thread Martin Storsjö
On Tue, 2 Mar 2021, Liu Hao wrote: 在 2021/3/2 下午3:44, Martin Storsjö 写道: Since the UCRT, the wcstok() function has the C99 compliant signature with a third parameter for thread safety. Signed-off-by: Martin Storsjö --- mingw-w64-headers/crt/wchar.h | 4 1 file changed, 4 insertions(+)

Re: [Mingw-w64-public] [PATCH] headers: Fix the signature of wcstok() for UCRT

2021-03-02 Thread Liu Hao
在 2021/3/2 下午3:44, Martin Storsjö 写道: Since the UCRT, the wcstok() function has the C99 compliant signature with a third parameter for thread safety. Signed-off-by: Martin Storsjö --- mingw-w64-headers/crt/wchar.h | 4 1 file changed, 4 insertions(+) This patch looks good to me, too

[Mingw-w64-public] [PATCH] headers: Fix the signature of wcstok() for UCRT

2021-03-02 Thread Martin Storsjö
Since the UCRT, the wcstok() function has the C99 compliant signature with a third parameter for thread safety. Signed-off-by: Martin Storsjö --- mingw-w64-headers/crt/wchar.h | 4 1 file changed, 4 insertions(+) diff --git a/mingw-w64-headers/crt/wchar.h b/mingw-w64-headers/crt/wchar.h in