]>
Commit | Line | Data |
---|---|---|
2c5ed6e3 AG |
1 | BASH PATCH REPORT |
2 | ================= | |
3 | ||
4 | Bash-Release: 3.2 | |
5 | Patch-ID: bash32-043 | |
6 | ||
7 | Bug-Reported-by: Morita Sho <morita-pub-en-debian@inz.sakura.ne.jp> | |
8 | Bug-Reference-ID: | |
9 | Bug-Reference-URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=478096 | |
10 | ||
11 | Bug-Description: | |
12 | ||
13 | Side effects caused by setting function-local versions of variables bash | |
14 | handles specially persisted after the function returned. | |
15 | ||
16 | Patch: | |
17 | ||
18 | *** ../bash-3.2-patched/variables.c 2007-08-25 13:47:05.000000000 -0400 | |
19 | --- variables.c 2008-11-09 17:47:31.000000000 -0500 | |
20 | *************** | |
21 | *** 3459,3465 **** | |
22 | var->attributes &= ~(att_tempvar|att_propagate); | |
23 | else | |
24 | ! shell_variables->flags |= VC_HASTMPVAR; | |
25 | v->attributes |= var->attributes; | |
26 | } | |
27 | ||
28 | dispose_variable (var); | |
29 | --- 3771,3779 ---- | |
30 | var->attributes &= ~(att_tempvar|att_propagate); | |
31 | else | |
32 | ! shell_variables->flags |= VC_HASTMPVAR; | |
33 | v->attributes |= var->attributes; | |
34 | } | |
35 | + else | |
36 | + stupidly_hack_special_variables (var->name); /* XXX */ | |
37 | ||
38 | dispose_variable (var); | |
39 | *************** | |
40 | *** 3548,3551 **** | |
41 | --- 3862,3867 ---- | |
42 | v->attributes |= var->attributes; | |
43 | } | |
44 | + else | |
45 | + stupidly_hack_special_variables (var->name); /* XXX */ | |
46 | ||
47 | dispose_variable (var); | |
48 | *** ../bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006 | |
49 | --- patchlevel.h Mon Oct 16 14:22:54 2006 | |
50 | *************** | |
51 | *** 26,30 **** | |
52 | looks for to find the patch level (for the sccs version string). */ | |
53 | ||
54 | ! #define PATCHLEVEL 42 | |
55 | ||
56 | #endif /* _PATCHLEVEL_H_ */ | |
57 | --- 26,30 ---- | |
58 | looks for to find the patch level (for the sccs version string). */ | |
59 | ||
60 | ! #define PATCHLEVEL 43 | |
61 | ||
62 | #endif /* _PATCHLEVEL_H_ */ |