From dd30b0552ffc4276e1ada07100b7eb4e231805fa Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Thu, 9 Jun 2005 19:19:20 +0000 Subject: Fix Savannah bug #11913: ensure that scopes such as foreach, etc. take precedence over the global scope when they're used in a global context (such as an eval). --- ChangeLog | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 318cbd7..6482a38 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2005-06-09 Paul D. Smith + + * variable.c (push_new_variable_scope): File variables point + directly to the global_setlist variable. So, inserting a new + scope in front of that has no effect on those variables: they + don't go through current_variable_set_list. If we're pushing a + scope and the current scope is global, push it "the other way" so + that the new setlist is in the global_setlist variable, and + next points to a new setlist with the global variable set. + (pop_variable_scope): Properly undo a push with the new + semantics. + Fixes Savannah bug #11913. + 2005-05-31 Boris Kolpackov * job.c (reap_children): Don't die of the command failed but -- cgit v1.2.3