]> Savannah Git Hosting - gnulib.git/commit
vasnprintf-posix: Fix negative width handling for %ls directive.
authorBruno Haible <bruno@clisp.org>
Sat, 28 Jan 2023 17:17:17 +0000 (18:17 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 10 Feb 2023 02:58:16 +0000 (03:58 +0100)
commit53f851bf25cddf1ad3a2e9e332c1b0e626e57a56
tree9df08a34d785e8176010186263d1e75bbd9c2a60
parent5ac16181d387546110117c70cc82e721e3198723
vasnprintf-posix: Fix negative width handling for %ls directive.

Reported by clang via Po Lu <luangruo@yahoo.com>.

* lib/vasnprintf.c (VASNPRINTF): In the code for %ls in vasnprintf and
for %s in vasnwprintf, test for the FLAG_LEFT bit in the flags variable.
ChangeLog
lib/vasnprintf.c