]> Savannah Git Hosting - gnulib.git/commit
wcswidth: Fix result in case of overflow.
authorBruno Haible <bruno@clisp.org>
Thu, 4 May 2023 21:22:14 +0000 (23:22 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 4 May 2023 21:22:14 +0000 (23:22 +0200)
commit59f878fa3d175b2d085a01a8df786c9e40be14b9
tree0a90a2b4d6672e8c7e489a6c5a60e4961b1a1fd3
parent6424473acb6cdd106bdf6e1aaf16c746724eaa17
wcswidth: Fix result in case of overflow.

* lib/wcswidth-impl.h (wcswidth): Continue searching for a non-printing
wide character after the total width has become > INT_MAX.
ChangeLog
lib/wcswidth-impl.h