diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2003-07-04 13:33:48 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2003-07-04 13:33:48 +0000 |
| commit | c94d70434ff518aaa79f5133e12d3a74b0b663b5 (patch) | |
| tree | 639a48bdc2c6b1829d4a194c0847c8e764e5dd3e /usr.bin/make | |
| parent | a5d841d4ce6586a419a04c5e0b5da84f29ba638a (diff) | |
Notes
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 6f82ecbee3ea1..8eab811f6317c 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; } } |
