From owner-cvs-all Wed Jun 19 10:23:15 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 1F6B937B401; Wed, 19 Jun 2002 10:23:09 -0700 (PDT) Received: (from jmallett@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5JHN9a51591; Wed, 19 Jun 2002 10:23:09 -0700 (PDT) (envelope-from jmallett) Message-Id: <200206191723.g5JHN9a51591@freefall.freebsd.org> From: Juli Mallett Date: Wed, 19 Jun 2002 10:23:09 -0700 (PDT) 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 jmallett 2002/06/19 10:23:09 PDT Modified files: usr.bin/make var.c Log: Possibly expand the variable name's embedded variables before using it, as seen (somewhat) in NetBSD. This catches a few extra recursion cases that could be hidden by expanding a NIL variable causing an existing variable to be returned (which caused infinite looping and climbing memory usage in at least one case). Obtained from: NetBSD (in principle) Revision Changes Path 1.27 +26 -0 src/usr.bin/make/var.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message