diff options
author | Bruno Haible <bruno@clisp.org> | 2023-05-04 23:27:12 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-05-04 23:29:34 +0200 |
commit | 15880a3da91a0403eb287a84db90b54713ac4a09 (patch) | |
tree | 073cbfb1f015142cf598c710012db0243da45f10 /ChangeLog | |
parent | 59f878fa3d175b2d085a01a8df786c9e40be14b9 (diff) | |
download | gnulib-15880a3da91a0403eb287a84db90b54713ac4a09.tar.gz |
c32swidth: New module.
* lib/uchar.in.h (c32swidth): New declaration.
* lib/wcswidth-impl.h: Use macros FUNC, UNIT, CHARACTER_WIDTH.
* lib/wcswidth.c: Define FUNC, UNIT, CHARACTER_WIDTH before including
wcswidth-impl.h.
* lib/c32swidth.c: New file.
* modules/c32swidth: New file.
* m4/uchar_h.m4 (gl_UCHAR_H_REQUIRE_DEFAULTS): Initialize
GNULIB_C32SWIDTH.
* modules/uchar (Makefile.am): Substitute GNULIB_C32SWIDTH.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,5 +1,18 @@ 2023-05-04 Bruno Haible <bruno@clisp.org> + c32swidth: New module. + * lib/uchar.in.h (c32swidth): New declaration. + * lib/wcswidth-impl.h: Use macros FUNC, UNIT, CHARACTER_WIDTH. + * lib/wcswidth.c: Define FUNC, UNIT, CHARACTER_WIDTH before including + wcswidth-impl.h. + * lib/c32swidth.c: New file. + * modules/c32swidth: New file. + * m4/uchar_h.m4 (gl_UCHAR_H_REQUIRE_DEFAULTS): Initialize + GNULIB_C32SWIDTH. + * modules/uchar (Makefile.am): Substitute GNULIB_C32SWIDTH. + +2023-05-04 Bruno Haible <bruno@clisp.org> + 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. |