summaryrefslogtreecommitdiff
path: root/doc/posix-functions/wcwidth.texi
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2019-12-12 13:02:28 +0100
committerBruno Haible <bruno@clisp.org>2019-12-12 13:02:28 +0100
commitb037ed51f0e25671da47611ca27a4f45f0c9ada9 (patch)
tree5524e78574318dc5c8287892816c0c0e17c11aed /doc/posix-functions/wcwidth.texi
parente5bad6d5201e3e1ad4eb5af82825447591b0fae4 (diff)
downloadgnulib-b037ed51f0e25671da47611ca27a4f45f0c9ada9.tar.gz
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.
Diffstat (limited to 'doc/posix-functions/wcwidth.texi')
-rw-r--r--doc/posix-functions/wcwidth.texi4
1 files changed, 4 insertions, 0 deletions
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