]> git.pld-linux.org Git - packages/bash.git/blame - bash31-004
- official patches
[packages/bash.git] / bash31-004
CommitLineData
9c6e89a2
ER
1 BASH PATCH REPORT
2 =================
3
4Bash-Release: 3.1
5Patch-ID: bash31-004
6
7Bug-Reported-by: Mike Frysinger <vapier@gentoo.org>
8Bug-Reference-ID: <20051223172359.GF14579@toucan.gentoo.org>
9Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2005-12/msg00062.html
10
11Bug-Description:
12
13A local array variable declared at function scope that shadows a variable
14of the same name declared in a previous scope did not create a separate
15variable instance, but used the previous one.
16
17Patch:
18
19*** ../bash-3.1/subst.c Mon Oct 24 09:51:13 2005
20--- subst.c Fri Dec 30 12:11:53 2005
21***************
22*** 2188,2192 ****
23 {
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);
28--- 2188,2192 ----
29 {
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
36***************
37*** 26,30 ****
38 looks for to find the patch level (for the sccs version string). */
39
40! #define PATCHLEVEL 3
41
42 #endif /* _PATCHLEVEL_H_ */
43--- 26,30 ----
44 looks for to find the patch level (for the sccs version string). */
45
46! #define PATCHLEVEL 4
47
48 #endif /* _PATCHLEVEL_H_ */
This page took 0.058612 seconds and 4 git commands to generate.