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.
This commit is contained in:
parent
4b8283ec80
commit
e895fc2077
|
@ -1,3 +1,15 @@
|
|||
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.
|
||||
|
||||
2003-07-31 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
|
||||
|
|
|
@ -82,12 +82,12 @@ _DEFUN(iswalpha,(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"))
|
||||
|
|
|
@ -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"))
|
||||
|
|
|
@ -78,12 +78,12 @@ _DEFUN(iswcntrl,(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"))
|
||||
|
|
|
@ -82,12 +82,12 @@ _DEFUN(iswprint,(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"))
|
||||
|
|
|
@ -82,12 +82,12 @@ _DEFUN(iswpunct,(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"))
|
||||
|
|
|
@ -78,12 +78,12 @@ _DEFUN(iswspace,(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"))
|
||||
|
|
|
@ -83,12 +83,12 @@ _DEFUN(towlower,(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"))
|
||||
|
|
|
@ -83,12 +83,12 @@ _DEFUN(towupper,(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"))
|
||||
|
|
Loading…
Reference in New Issue