diff options
author | Bruno Haible <bruno@clisp.org> | 2023-03-22 21:43:23 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-03-22 21:43:23 +0100 |
commit | f61570c0ef38744c93865172dcbac80e7d4e7b23 (patch) | |
tree | 969f281aa83d72113adc702bcba758e3f155a6c3 /build-aux/gnu-web-doc-update | |
parent | 806d6f857009f0920b74405004a8ea42b4adb23d (diff) | |
download | gnulib-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