summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/cond.c
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-06-20 19:28:00 +0000
committerjmallett <jmallett@FreeBSD.org>2002-06-20 19:28:00 +0000
commit7ae269b640ce2a9a3e61037bf7d97c5313b6e1d5 (patch)
tree4d221d2c1ba4050e24db2b640c3601afe91956f1 /usr.bin/make/cond.c
parent619c88aeeb99f6aa38801e896d23cbb5def3a151 (diff)
downloadFreeBSD-src-7ae269b640ce2a9a3e61037bf7d97c5313b6e1d5.zip
FreeBSD-src-7ae269b640ce2a9a3e61037bf7d97c5313b6e1d5.tar.gz
Diff reduction for great justice against NetBSD, cast to unsigned char when
passing an argument to isspace(3).
Diffstat (limited to 'usr.bin/make/cond.c')
-rw-r--r--usr.bin/make/cond.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/cond.c b/usr.bin/make/cond.c
index d02452f..64e7f1a 100644
--- a/usr.bin/make/cond.c
+++ b/usr.bin/make/cond.c
@@ -707,7 +707,7 @@ do_string_compare:
}
} else {
char *c = CondCvtArg(rhs, &right);
- if (*c != '\0' && !isspace(*c))
+ if (*c != '\0' && !isspace((unsigned char) *c))
goto do_string_compare;
if (rhs == condExpr) {
/*
OpenPOWER on IntegriCloud