]> Savannah Git Hosting - gnulib.git/commit
vasnwprintf-posix: Work around %La bug in glibc 2.15 and Haiku.
authorBruno Haible <bruno@clisp.org>
Fri, 7 Apr 2023 21:54:24 +0000 (23:54 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 7 Apr 2023 21:54:24 +0000 (23:54 +0200)
commit0a0fb288072ce33e602886f232493731b86a2574
tree5e7a839f7387c92db8f5a66803d9cf4054f3ee88
parentc33d7e3b40042440e4295f46adff1d94051c74f7
vasnwprintf-posix: Work around %La bug in glibc 2.15 and Haiku.

* m4/printf.m4 (gl_SWPRINTF_DIRECTIVE_LA): New macro.
* m4/vasnprintf.m4 (gl_PREREQ_VASNWPRINTF): Invoke
gl_SWPRINTF_DIRECTIVE_LA and define NEED_WPRINTF_DIRECTIVE_LA
accordingly.
* lib/vasnprintf.c: When compiling vasnwprintf, if
NEED_WPRINTF_DIRECTIVE_LA, handle the %La and %LA directives ourselves.
* doc/posix-functions/swprintf.texi: Mention the %La bug.
ChangeLog
doc/posix-functions/swprintf.texi
lib/vasnprintf.c
m4/printf.m4
m4/vasnprintf.m4