diff options
author | Bruno Haible <bruno@clisp.org> | 2023-01-29 09:23:21 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-01-29 09:28:38 +0100 |
commit | 34b971f6fd1862d81ef7a01db967c0ddaeb9f3ca (patch) | |
tree | af1a4473763a290696bb0570cf5bde61cea03644 | |
parent | c308fd01b5183dcfb7156d8f05dc67649f9a51a7 (diff) | |
download | libunistring-34b971f6fd1862d81ef7a01db967c0ddaeb9f3ca.tar.gz |
NEWS: Mention a bug fix.
* NEWS: Mention the bug fixed in gnulib
https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commit;h=ca1cd9b39787fe8a2329c77bc60d4a7c3ab2334e
-rw-r--r-- | ChangeLog | 16 | ||||
-rw-r--r-- | NEWS | 4 |
2 files changed, 20 insertions, 0 deletions
@@ -1,3 +1,19 @@ +2023-01-29 Bruno Haible <bruno@clisp.org> + + Fix a bug in the *printf functions. + Applies gnulib change + 2023-01-28 Bruno Haible <bruno@clisp.org> + unistdio/*printf: Fix negative width handling for %U, %lU, %llU. + * lib/vasnprintf.c (VASNPRINTF): In the code for %U, %lU, %llU, + test for the FLAG_LEFT bit in the flags variable. + * tests/unistdio/test-u8-printf1.h (test_xfunction): Add tests + for width given as argument for the directives %U, %lU, %llU, + %s, %a, %f, %e, %g. + * tests/unistdio/test-u16-printf1.h (test_xfunction): Likewise. + * tests/unistdio/test-u32-printf1.h (test_xfunction): Likewise. + * tests/unistdio/test-ulc-printf1.h (test_xfunction): Likewise. + * NEWS: Mention the fix. + 2022-09-18 Bruno Haible <bruno@clisp.org> stdbool.mini.h: Improvements for MSVC 14 and Sun C++. @@ -1,3 +1,7 @@ +New in 1.2: +* Fixed a bug in the *printf functions: In the %U, %lU, %llU directives, a + negative width given as an argument did not trigger left-justification. + New in 1.1: * The data tables and algorithms have been updated to Unicode version 15.0.0. |