summaryrefslogtreecommitdiff
path: root/build-aux/gnu-web-doc-update
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-03-22 21:43:23 +0100
committerBruno Haible <bruno@clisp.org>2023-03-22 21:43:23 +0100
commitf61570c0ef38744c93865172dcbac80e7d4e7b23 (patch)
tree969f281aa83d72113adc702bcba758e3f155a6c3 /build-aux/gnu-web-doc-update
parent806d6f857009f0920b74405004a8ea42b4adb23d (diff)
downloadgnulib-f61570c0ef38744c93865172dcbac80e7d4e7b23.tar.gz
*printf-posix: Fix implementation of %b directive.
* lib/vasnprintf.c (VASNPRINTF): In the %b directive implementation, fix the precision handling, and ignore the '0' flag when a width and a precision are both present. * tests/test-snprintf-posix.h (test_function): Add test cases for the %x directive and more test cases for the %b directive. * tests/test-sprintf-posix.h (test_function): Likewise. * tests/test-vasnprintf-posix.c (test_function): Likewise. * tests/test-vasnwprintf-posix.c (test_function): Likewise. * tests/test-vasprintf-posix.c (test_function): Likewise. * modules/vasnwprintf-posix-tests (Files): Add m4/musl.m4. (configure.ac): Invoke gl_MUSL_LIBC.
Diffstat (limited to 'build-aux/gnu-web-doc-update')
0 files changed, 0 insertions, 0 deletions