Use wide character ctype functions directly instead of relying on

4.4BSD extensions to the single-byte ctype functions.
This commit is contained in:
tjr 2002-11-09 05:19:08 +00:00
parent 5349a8bc12
commit 6eb74185cd

View File

@ -47,10 +47,10 @@ towctrans(wint_t wc, wctrans_t desc)
switch (desc) {
case _WCT_TOLOWER:
wc = tolower(wc);
wc = towlower(wc);
break;
case _WCT_TOUPPER:
wc = toupper(wc);
wc = towupper(wc);
break;
case _WCT_ERROR:
default: