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.
This commit is contained in:
Jeff Johnston 2009-08-24 16:59:35 +00:00
parent 11788f8ce0
commit 4b4a1363aa
3 changed files with 10 additions and 2 deletions

View 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

View 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);

View 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 ||