685962fb63
isalpha((unsigned char)*s) instead of isalpha((int)*s). Also replaced WRKSRC with BUILD_DIRS, which is more appropriate. Approved by jlam.
13 lines
381 B
Text
13 lines
381 B
Text
$NetBSD: patch-ai,v 1.2 2005/04/13 16:45:46 rillig Exp $
|
|
|
|
--- charset/xenc.c.orig 2005-04-06 23:29:15.000000000 +0200
|
|
+++ charset/xenc.c 2005-04-06 23:29:31.000000000 +0200
|
|
@@ -80,7 +80,7 @@
|
|
p = name;
|
|
q = xencs[i].name;
|
|
while (*p || *q) {
|
|
- if (tolower(*p) != tolower(*q))
|
|
+ if (tolower((unsigned char)*p) != tolower((unsigned char)*q))
|
|
break;
|
|
p++; q++;
|
|
}
|