Date: Wed, 20 Feb 2002 06:31:19 -0800 (PST) From: "Crist J. Clark" <cjc@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/make var.c Message-ID: <200202201431.g1KEVJH51827@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
cjc 2002/02/20 06:31:19 PST
Modified files:
usr.bin/make var.c
Log:
make(1) claims to ignore the remainder of a conditional once its value
has been determined similar to C. That is, one expects a construction
like,
.if defined(TEST) && (${TEST:L} == "test")
Never to generate an error since the second expression should never be
evaluated when TEST is undefined.
However, this was not the case. The above fails with the current
make(1) if TEST is undefined. This patch fixes the above and many
similar cases.
PR: bin/34032
Submitted by: Alan Eldridge <alane@geeksrus.net>
MFC after: 1 week
Revision Changes Path
1.23 +1 -1 src/usr.bin/make/var.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202201431.g1KEVJH51827>
