From efb17ec15925db925088e801920a3df17b11ac49 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 28 Apr 2023 01:12:16 +0200 Subject: localeconv: Work around a mingw bug. * m4/localeconv.m4 (gl_FUNC_LOCALECONV): Test whether fields of type 'char' are filled correctly. (gl_PREREQ_LOCALECONV): Test whether 'struct lconv' has the int_{p,n}_* members. * lib/localeconv.c (FIX_CHAR_VALUE): New macro. (localeconv): Replace negative field values with CHAR_MAX. * doc/posix-functions/localeconv.texi: Mention the mingw bug. --- ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index a41aeff43e..3932a30ae1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2023-04-27 Bruno Haible + + localeconv: Work around a mingw bug. + * m4/localeconv.m4 (gl_FUNC_LOCALECONV): Test whether fields of type + 'char' are filled correctly. + (gl_PREREQ_LOCALECONV): Test whether 'struct lconv' has the int_{p,n}_* + members. + * lib/localeconv.c (FIX_CHAR_VALUE): New macro. + (localeconv): Replace negative field values with CHAR_MAX. + * doc/posix-functions/localeconv.texi: Mention the mingw bug. + 2023-04-27 Bruno Haible stdlib: Fix error when cross-compiling (regression 2023-04-04). -- cgit v1.2.1