]> 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:21:52 +0000 (03:21 +0100)
commit3d8ec444d9a0e95d2d7b16dc67a7e27c3169e83d
tree048ea1f76cfe05961cd0f0639ac0f2f2aa865dfe
parentd35694ef00fe96e17b311a067e225780ae22d594
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