]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Possibly expand the variable name's embedded variables before using it, as
authorJuli Mallett <jmallett@FreeBSD.org>
Wed, 19 Jun 2002 17:23:08 +0000 (17:23 +0000)
committerJuli Mallett <jmallett@FreeBSD.org>
Wed, 19 Jun 2002 17:23:08 +0000 (17:23 +0000)
commit0a9c401f9ae009ca91f5f042e0665adeba38a6dd
treeccc93ff248910525f5ed311d3b0e4cd4599bef00
parentdafdb1b4c56a233dc6cfe37a55a1c95afe668bac
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)
usr.bin/make/var.c