Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2003-08-01 02:24:20 +0400
committerJeff Johnston <jjohnstn@redhat.com>2003-08-01 02:24:20 +0400
commite895fc2077974824dbe4d7db2e5e018c59865f06 (patch)
tree1886db16a689a6b1e846b03dc697d2d32d5e8ae5 /newlib/libc/ctype/iswblank.c
parent4b8283ec80cf7a3552002cbd4995523b4394b64c (diff)
2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
* libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the correct type of conversion when dealing with EUCJP or SJIS. * libc/ctype/iswblank.c: Ditto. * libc/ctype/iswcntrl.c: Ditto. * libc/ctype/iswprint.c: Ditto. * libc/ctype/iswpunct.c: Ditto. * libc/ctype/iswspace.c: Ditto. * libc/ctype/towlower.c: Ditto. * libc/ctype/towupper.c: Ditto.
Diffstat (limited to 'newlib/libc/ctype/iswblank.c')
-rw-r--r--newlib/libc/ctype/iswblank.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/ctype/iswblank.c b/newlib/libc/ctype/iswblank.c
index 069b73703..8834e954d 100644
--- a/newlib/libc/ctype/iswblank.c
+++ b/newlib/libc/ctype/iswblank.c
@@ -78,12 +78,12 @@ _DEFUN(iswblank,(c), wint_t c)
}
else if (!strcmp (__lc_ctype, "C-SJIS"))
{
- c = __jp2uc (c, JP_JIS);
+ c = __jp2uc (c, JP_SJIS);
unicode = 1;
}
else if (!strcmp (__lc_ctype, "C-EUCJP"))
{
- c = __jp2uc (c, JP_JIS);
+ c = __jp2uc (c, JP_EUCJP);
unicode = 1;
}
else if (!strcmp (__lc_ctype, "C-UTF-8"))