]> sourceware.org Git - newlib-cygwin.git/commitdiff
2009-08-24 Andy Koppe <andy.koppe@gmail.com>
authorJeff Johnston <jjohnstn@redhat.com>
Mon, 24 Aug 2009 16:59:35 +0000 (16:59 +0000)
committerJeff Johnston <jjohnstn@redhat.com>
Mon, 24 Aug 2009 16:59:35 +0000 (16:59 +0000)
        * libc/ctype/iswspace.c (iswspace): Include "non-breaking
        space" (U+00A0).
        * libc/ctype/iswblank.c (iswblank): Likewise.

newlib/ChangeLog
newlib/libc/ctype/iswblank.c
newlib/libc/ctype/iswspace.c

index 2dcd6a483b2b85bccb460d1f141cf46cca42666f..b4677377cb828d725bbb0020287e29f8b218be89 100644 (file)
@@ -1,3 +1,9 @@
+2009-08-24  Andy Koppe  <andy.koppe@gmail.com>
+
+       * libc/ctype/iswspace.c (iswspace): Include "non-breaking
+       space" (U+00A0).
+       * libc/ctype/iswblank.c (iswblank): Likewise.
+
 2009-08-21  Corinna Vinschen  <corinna@vinschen.de>
 
        * libc/locale/locale.c (loadlocale): Throughout check charset string
index 5cd37016f7ec4b6b8d9083c4b62787f662063407..2ac907f17b3da7d63dbc2de46c3788d25170b782 100644 (file)
@@ -67,7 +67,8 @@ _DEFUN(iswblank,(c), wint_t c)
 {
 #ifdef _MB_CAPABLE
   c = _jp2uc (c);
-  return (c == 0x0009 || c == 0x0020 || c == 0x1680 ||
+  return (c == 0x0009 || c == 0x0020 ||
+         c == 0x00A0 || c == 0x1680 ||
          (c >= 0x2000 && c <= 0x2006) ||
          (c >= 0x2008 && c <= 0x200b) ||
          c == 0x205f || c == 0x3000);
index a1edbdcef8bd99f32c2a9c095da09e18055f0e3b..3245813f1b9388bbcc529082d6c2da0c47f40f49 100644 (file)
@@ -67,7 +67,8 @@ _DEFUN(iswspace,(c), wint_t c)
 {
 #ifdef _MB_CAPABLE
   c = _jp2uc (c);
-  return ((c >= 0x0009 && c <= 0x000d) || c == 0x0020 || c == 0x1680 ||
+  return ((c >= 0x0009 && c <= 0x000d) || c == 0x0020 ||
+         c == 0x00A0 || c == 0x1680 ||
          (c >= 0x2000 && c <= 0x2006) ||
          (c >= 0x2008 && c <= 0x200b) ||
          c == 0x2028 || c == 0x2029 ||
This page took 0.051466 seconds and 5 git commands to generate.