diff options
author | Bruno Haible <bruno@clisp.org> | 2023-04-01 14:51:22 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-04-01 14:51:22 +0200 |
commit | bbf0d3fdf25e8f85c7751ac0ee90a0f50a0f054d (patch) | |
tree | 34feb43a426755fe6ec95146d7751e151720979b /tests/test-omap-c++.cc | |
parent | 154a389b7cc0654a4fbec0faf4f0ddc3e89a947a (diff) | |
download | gnulib-bbf0d3fdf25e8f85c7751ac0ee90a0f50a0f054d.tar.gz |
vasnwprintf-posix: Fix behaviour in the C locale.
* lib/vasnprintf.c (VASNPRINTF): If NEED_WPRINTF_DIRECTIVE_C is set,
implement the 'c' directive here.
* m4/vasnprintf.m4 (gl_PREREQ_VASNWPRINTF): Invoke gl_MBRTOWC_C_LOCALE.
If mbrtowc is buggy in the C locale, define NEED_WPRINTF_DIRECTIVE_C.
* modules/vasnwprintf (Files): Add m4/mbrtowc.m4.
* tests/test-vasnwprintf-posix.c (test_function): Add tests of %s and %c
in the C locale.
* doc/posix-functions/fwprintf.texi: Mention the C locale behaviour bug.
* doc/posix-functions/swprintf.texi: Likewise.
* doc/posix-functions/vfwprintf.texi: Likewise.
* doc/posix-functions/vswprintf.texi: Likewise.
* doc/posix-functions/vwprintf.texi: Likewise.
* doc/posix-functions/wprintf.texi: Likewise.
Diffstat (limited to 'tests/test-omap-c++.cc')
0 files changed, 0 insertions, 0 deletions