diff options
author | Bruno Haible <bruno@clisp.org> | 2023-04-28 01:12:16 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-04-28 01:12:16 +0200 |
commit | efb17ec15925db925088e801920a3df17b11ac49 (patch) | |
tree | 10c5fc1d895d3737c340d67b8db3d2b366727e7d /ChangeLog | |
parent | fedd186a0b85045d2a1446abbb17eb9151bf0e11 (diff) | |
download | gnulib-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-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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>. |