diff options
author | Bruno Haible <bruno@clisp.org> | 2023-05-03 17:09:20 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-05-03 17:09:20 +0200 |
commit | 5826332ae5386719b3f34d3c94b4978910a9c0dc (patch) | |
tree | 8d55c6a27ca1f4c550b0f549eb495f1cd8404e84 /tests/test-isnand.c | |
parent | 18e6a048c8e85b29090cfed503c0d32a28feb090 (diff) | |
download | gnulib-5826332ae5386719b3f34d3c94b4978910a9c0dc.tar.gz |
vasnprintf, vasnwprintf: Make '0' flag handling more ISO C compliant.
* lib/vasnprintf.c (VASNPRINTF): When doing the padding ourselves,
ignore the '0' flag if a precision is specified and the conversion is
one of d, i, o, u, x, X, b, B.
* tests/test-vasnprintf-posix.c (test_function): Update expected results
accordingly.
* tests/test-vasprintf-posix.c (test_function): Likewise.
* tests/test-snprintf-posix.h (test_function): Likewise.
* tests/test-sprintf-posix.h (test_function): Likewise.
* tests/test-vasnwprintf-posix.c (test_function): Likewise.
Diffstat (limited to 'tests/test-isnand.c')
0 files changed, 0 insertions, 0 deletions