]> Savannah Git Hosting - gnulib.git/commitdiff
wcwidth: Document MidnightBSD bug.
authorBruno Haible <bruno@clisp.org>
Sun, 7 Feb 2021 16:34:59 +0000 (17:34 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 7 Feb 2021 16:34:59 +0000 (17:34 +0100)
* doc/posix-functions/wcwidth.texi: Mention MidnightBSD as an affected
platform.
* m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Update comments.

ChangeLog
doc/posix-functions/wcwidth.texi
m4/wcwidth.m4

index d4633f57d36f7670ce352c06903e9d83c9fcbe65..02193f1c64be2d6d35e7f37ad7d471f67519e2f9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2021-02-07  Bruno Haible  <bruno@clisp.org>
+
+       wcwidth: Document MidnightBSD bug.
+       * doc/posix-functions/wcwidth.texi: Mention MidnightBSD as an affected
+       platform.
+       * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Update comments.
+
 2021-02-07  Bruno Haible  <bruno@clisp.org>
 
        pthread_sigmask: Document MidnightBSD bug.
index 86d23973afed5edada9b130b8fbb1a363e1ed752..0540bb67a1693da045795dc69f2671a3e6a52351 100644 (file)
@@ -17,7 +17,7 @@ glibc 2.8.
 @item
 This function handles combining characters in UTF-8 locales incorrectly on some
 platforms:
-NetBSD 9.0, OpenBSD 5.8.
+NetBSD 9.0, OpenBSD 5.8, MidnightBSD 1.1.
 @item
 This function returns 2 for characters with ambiguous east asian width, even in
 Western locales, on some platforms:
index 40fdea714d6665a610aa6f86dbe4ffaf16088eab..2ac2a5148a3c30f6b68a24258650f4fc4e8368d6 100644 (file)
@@ -1,4 +1,4 @@
-# wcwidth.m4 serial 33
+# wcwidth.m4 serial 34
 dnl Copyright (C) 2006-2021 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,8 +41,10 @@ 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, wcwidth(0x05B0) (HEBREW POINT SHEVA) returns 1.
-    dnl On NetBSD 9.0, OSF/1 5.1, wcwidth(0x200B) (ZERO WIDTH SPACE) returns 1.
+    dnl On 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 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).
     dnl On Solaris 11.4, wcwidth(0x2202) (PARTIAL DIFFERENTIAL) returns 2,