summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-05-04 13:29:49 +0200
committerBruno Haible <bruno@clisp.org>2023-05-04 13:29:49 +0200
commit1304b9698bd1757b29550d38e5c80d233e65aa01 (patch)
treef3224e9ef5dc40326a99d9186ee9d75f51adb275 /m4
parent5826332ae5386719b3f34d3c94b4978910a9c0dc (diff)
downloadgnulib-1304b9698bd1757b29550d38e5c80d233e65aa01.tar.gz
doc: Mention macOS wcwidth bug.
* m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Mention macOS bugs. * doc/posix-functions/wcwidth.texi: Update regarding macOS.
Diffstat (limited to 'm4')
-rw-r--r--m4/wcwidth.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/wcwidth.m4 b/m4/wcwidth.m4
index 93a7fa329c..e7829e98c8 100644
--- a/m4/wcwidth.m4
+++ b/m4/wcwidth.m4
@@ -1,4 +1,4 @@
-# wcwidth.m4 serial 35
+# wcwidth.m4 serial 36
dnl Copyright (C) 2006-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -41,9 +41,9 @@ AC_DEFUN([gl_FUNC_WCWIDTH],
if test $ac_cv_func_wcwidth = yes || test $gl_cv_func_wcwidth_macro = yes; then
HAVE_WCWIDTH=1
dnl On Mac OS X 10.3, wcwidth(0x0301) (COMBINING ACUTE ACCENT) returns 1.
- dnl On NetBSD 9.0, OpenBSD 5.0, MidnightBSD 1.1,
+ dnl On macOS 12.5, NetBSD 9.0, OpenBSD 5.0, MidnightBSD 1.1,
dnl wcwidth(0x05B0) (HEBREW POINT SHEVA) returns 1.
- dnl On NetBSD 9.0, MidnightBSD 1.1, OSF/1 5.1,
+ dnl On macOS 12.5, NetBSD 9.0, MidnightBSD 1.1, OSF/1 5.1,
dnl wcwidth(0x200B) (ZERO WIDTH SPACE) returns 1.
dnl On OpenBSD 5.8, wcwidth(0xFF1A) (FULLWIDTH COLON) returns 0.
dnl This leads to bugs in 'ls' (coreutils).