7 Bug-Reported-by: Mike Frysinger <vapier@gentoo.org>
8 Bug-Reference-ID: <20051223172359.GF14579@toucan.gentoo.org>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2005-12/msg00062.html
13 A local array variable declared at function scope that shadows a variable
14 of the same name declared in a previous scope did not create a separate
15 variable instance, but used the previous one.
19 *** ../bash-3.1/subst.c Mon Oct 24 09:51:13 2005
20 --- subst.c Fri Dec 30 12:11:53 2005
24 v = find_variable (name);
25 ! if (v == 0 || array_p (v) == 0)
26 v = make_local_array_variable (name);
27 v = assign_array_var_from_string (v, value, flags);
30 v = find_variable (name);
31 ! if (v == 0 || array_p (v) == 0 || v->context != variable_context)
32 v = make_local_array_variable (name);
33 v = assign_array_var_from_string (v, value, flags);
34 *** ../bash-3.1/patchlevel.h Wed Jul 20 13:58:20 2005
35 --- patchlevel.h Wed Dec 7 13:48:42 2005
38 looks for to find the patch level (for the sccs version string). */
40 ! #define PATCHLEVEL 3
42 #endif /* _PATCHLEVEL_H_ */
44 looks for to find the patch level (for the sccs version string). */
46 ! #define PATCHLEVEL 4
48 #endif /* _PATCHLEVEL_H_ */