diff options
Diffstat (limited to 'usr.bin/make')
-rw-r--r-- | usr.bin/make/cond.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/make/cond.c b/usr.bin/make/cond.c index 6f82ecb..8eab811 100644 --- a/usr.bin/make/cond.c +++ b/usr.bin/make/cond.c @@ -688,16 +688,13 @@ do_string_compare: } } else { char *c = CondCvtArg(rhs, &right); - if (*c != '\0' && !isspace((unsigned char) *c)) + if (c == rhs) goto do_string_compare; if (rhs == condExpr) { /* * Skip over the right-hand side */ - while(!isspace((unsigned char) *condExpr) && - (*condExpr != '\0')) { - condExpr++; - } + condExpr = c; } } |