From owner-cvs-all Wed Feb 20 6:31:26 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 00A5137B405; Wed, 20 Feb 2002 06:31:20 -0800 (PST) Received: (from cjc@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1KEVJH51827; Wed, 20 Feb 2002 06:31:19 -0800 (PST) (envelope-from cjc) Message-Id: <200202201431.g1KEVJH51827@freefall.freebsd.org> From: "Crist J. Clark" Date: Wed, 20 Feb 2002 06:31:19 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/make var.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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