From 34b971f6fd1862d81ef7a01db967c0ddaeb9f3ca Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 29 Jan 2023 09:23:21 +0100 Subject: 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 --- ChangeLog | 16 ++++++++++++++++ NEWS | 4 ++++ 2 files changed, 20 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0da0b8c..cf6b99e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +2023-01-29 Bruno Haible + + Fix a bug in the *printf functions. + Applies gnulib change + 2023-01-28 Bruno Haible + 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 stdbool.mini.h: Improvements for MSVC 14 and Sun C++. diff --git a/NEWS b/NEWS index d3fc3b9..5873566 100644 --- a/NEWS +++ b/NEWS @@ -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. -- cgit v1.2.1