summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-04-28 01:12:16 +0200
committerBruno Haible <bruno@clisp.org>2023-04-28 01:12:16 +0200
commitefb17ec15925db925088e801920a3df17b11ac49 (patch)
tree10c5fc1d895d3737c340d67b8db3d2b366727e7d /ChangeLog
parentfedd186a0b85045d2a1446abbb17eb9151bf0e11 (diff)
downloadgnulib-efb17ec15925db925088e801920a3df17b11ac49.tar.gz
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a41aeff43e..3932a30ae1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,16 @@
2023-04-27 Bruno Haible <bruno@clisp.org>
+ 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 <bruno@clisp.org>
+
stdlib: Fix error when cross-compiling (regression 2023-04-04).
Reported by Pierre Labastie <pierre.labastie@neuf.fr> in
<https://lists.gnu.org/archive/html/bug-gnulib/2023-04/msg00220.html>.