More unsigned char casts to isupper(3).

Obtained from:	NetBSD
This commit is contained in:
Juli Mallett 2002-06-20 19:45:44 +00:00
parent d91c14de79
commit 7fc2a9f90c

View file

@ -497,7 +497,7 @@ ParseDoSrc (tOp, src, allsrc)
{
GNode *gn = NULL;
if (*src == '.' && isupper (src[1])) {
if (*src == '.' && isupper ((unsigned char) src[1])) {
int keywd = ParseFindKeyword(src);
if (keywd != -1) {
int op = parseKeywords[keywd].op;
@ -789,7 +789,7 @@ ParseDoDependency (line)
* Have a word in line. See if it's a special target and set
* specType to match it.
*/
if (*line == '.' && isupper (line[1])) {
if (*line == '.' && isupper ((unsigned char) line[1])) {
/*
* See if the target is a special target that must have it
* or its sources handled specially.