aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/make
diff options
context:
space:
mode:
authorHartmut Brandt <harti@FreeBSD.org>2005-05-25 16:06:14 +0000
committerHartmut Brandt <harti@FreeBSD.org>2005-05-25 16:06:14 +0000
commit0eabc7bf8f6b81ec5b97c81434f52ce95dedb7df (patch)
treeb2b1face4ca4493677a90d245f867cc56872dda9 /usr.bin/make
parent59ddf345d53582429d4b8e46e1249f160416b8a3 (diff)
Notes
Diffstat (limited to 'usr.bin/make')
-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 1066ae471e27..6e7a09451778 100644
--- a/usr.bin/make/cond.c
+++ b/usr.bin/make/cond.c
@@ -628,7 +628,7 @@ CondToken(Boolean doEval)
}
free(string);
if (rhs == condExpr) {
- if (!qt && *cp == ')')
+ if (*cp == '\0' || (!qt && *cp == ')'))
condExpr = cp;
else
condExpr = cp + 1;