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 /tests/test-qsort_r.c | |
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 'tests/test-qsort_r.c')
0 files changed, 0 insertions, 0 deletions