NetBSD-macppc ctype needs uchars.

This commit is contained in:
rsc 2005-09-09 23:16:15 +00:00
parent 94d85bc000
commit 3bd56b04a8
22 changed files with 55 additions and 56 deletions

View file

@ -67,7 +67,7 @@ int remove_substr(char* smain, char* ssub)
int n = strlen(ssub);
if (s==0)
return 0;
if (islower(s[n]))
if (islower((uchar)s[n]))
s[0] ^= 32; /* probably tolower(s[0]) or toupper(s[0]) */
else {
for (ss=s+n; *ss!=0; s++, ss++)