From b037ed51f0e25671da47611ca27a4f45f0c9ada9 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 12 Dec 2019 13:02:28 +0100 Subject: wcwidth: Avoid test failure on AIX 7.2. * tests/test-wcwidth.c (main): Don't fail if wcwidth(0x200B) is negative. * doc/posix-functions/wcwidth.texi: Mention the AIX issue. --- doc/posix-functions/wcwidth.texi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/posix-functions/wcwidth.texi b/doc/posix-functions/wcwidth.texi index 0acc1c4aff..a3afe9ba0d 100644 --- a/doc/posix-functions/wcwidth.texi +++ b/doc/posix-functions/wcwidth.texi @@ -29,4 +29,8 @@ Portability problems not fixed by Gnulib: @item On AIX and Windows platforms, @code{wchar_t} is a 16-bit type and therefore cannot accommodate all Unicode characters. +@item +This function treats zero-width spaces like control characters on some +platforms: +AIX 7.2. @end itemize -- cgit v1.2.1