Last change
on this file was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100644
|
File size:
1.5 KB
|
Rev | Line | |
---|
[c5c522c] | 1 | BASH PATCH REPORT |
---|
| 2 | ================= |
---|
| 3 | |
---|
| 4 | Bash-Release: 4.3 |
---|
| 5 | Patch-ID: bash43-017 |
---|
| 6 | |
---|
| 7 | Bug-Reported-by: Dan Douglas <ormaaj@gmail.com> |
---|
| 8 | Bug-Reference-ID: <7781746.RhfoTROLxF@smorgbox> |
---|
| 9 | Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-05/msg00026.html |
---|
| 10 | |
---|
| 11 | Bug-Description: |
---|
| 12 | |
---|
| 13 | The code that creates local variables should not clear the `invisible' |
---|
| 14 | attribute when returning an existing local variable. Let the code that |
---|
| 15 | actually assigns a value clear it. |
---|
| 16 | |
---|
| 17 | Patch (apply with `patch -p0'): |
---|
| 18 | *** ../bash-4.3-patched/variables.c 2014-02-14 11:55:12.000000000 -0500 |
---|
| 19 | --- variables.c 2014-05-07 10:53:57.000000000 -0400 |
---|
| 20 | *************** |
---|
| 21 | *** 2198,2205 **** |
---|
| 22 | old_var = find_variable (name); |
---|
| 23 | if (old_var && local_p (old_var) && old_var->context == variable_context) |
---|
| 24 | ! { |
---|
| 25 | ! VUNSETATTR (old_var, att_invisible); /* XXX */ |
---|
| 26 | ! return (old_var); |
---|
| 27 | ! } |
---|
| 28 | |
---|
| 29 | was_tmpvar = old_var && tempvar_p (old_var); |
---|
| 30 | --- 2260,2264 ---- |
---|
| 31 | old_var = find_variable (name); |
---|
| 32 | if (old_var && local_p (old_var) && old_var->context == variable_context) |
---|
| 33 | ! return (old_var); |
---|
| 34 | |
---|
| 35 | was_tmpvar = old_var && tempvar_p (old_var); |
---|
| 36 | |
---|
| 37 | *** ../bash-4.3/patchlevel.h 2012-12-29 10:47:57.000000000 -0500 |
---|
| 38 | --- patchlevel.h 2014-03-20 20:01:28.000000000 -0400 |
---|
| 39 | *************** |
---|
| 40 | *** 26,30 **** |
---|
| 41 | looks for to find the patch level (for the sccs version string). */ |
---|
| 42 | |
---|
| 43 | ! #define PATCHLEVEL 16 |
---|
| 44 | |
---|
| 45 | #endif /* _PATCHLEVEL_H_ */ |
---|
| 46 | --- 26,30 ---- |
---|
| 47 | looks for to find the patch level (for the sccs version string). */ |
---|
| 48 | |
---|
| 49 | ! #define PATCHLEVEL 17 |
---|
| 50 | |
---|
| 51 | #endif /* _PATCHLEVEL_H_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.