gcc484ntopperl-5.22
Last change
on this file since d849d83 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-039 |
---|
| 6 | |
---|
| 7 | Bug-Reported-by: SN <poczta-sn@gazeta.pl> |
---|
| 8 | Bug-Reference-ID: <54E2554C.205@gazeta.pl> |
---|
| 9 | Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2015-02/msg00060.html |
---|
| 10 | |
---|
| 11 | Bug-Description: |
---|
| 12 | |
---|
| 13 | Using the output of `declare -p' when run in a function can result in variables |
---|
| 14 | that are invisible to `declare -p'. This problem occurs when an assignment |
---|
| 15 | builtin such as `declare' receives a quoted compound array assignment as one of |
---|
| 16 | its arguments. |
---|
| 17 | |
---|
| 18 | Patch (apply with `patch -p0'): |
---|
| 19 | |
---|
| 20 | *** /usr/src/local/bash/bash-4.3-patched/arrayfunc.c 2014-10-01 13:08:48.000000000 -0400 |
---|
| 21 | --- arrayfunc.c 2015-02-19 14:33:05.000000000 -0500 |
---|
| 22 | *************** |
---|
| 23 | *** 405,408 **** |
---|
| 24 | --- 405,411 ---- |
---|
| 25 | else |
---|
| 26 | array_insert (a, i, l->word->word); |
---|
| 27 | + |
---|
| 28 | + VUNSETATTR (var, att_invisible); /* no longer invisible */ |
---|
| 29 | + |
---|
| 30 | return var; |
---|
| 31 | } |
---|
| 32 | *************** |
---|
| 33 | *** 635,638 **** |
---|
| 34 | --- 638,645 ---- |
---|
| 35 | if (nlist) |
---|
| 36 | dispose_words (nlist); |
---|
| 37 | + |
---|
| 38 | + if (var) |
---|
| 39 | + VUNSETATTR (var, att_invisible); /* no longer invisible */ |
---|
| 40 | + |
---|
| 41 | return (var); |
---|
| 42 | } |
---|
| 43 | *** ../bash-4.3/patchlevel.h 2012-12-29 10:47:57.000000000 -0500 |
---|
| 44 | --- patchlevel.h 2014-03-20 20:01:28.000000000 -0400 |
---|
| 45 | *************** |
---|
| 46 | *** 26,30 **** |
---|
| 47 | looks for to find the patch level (for the sccs version string). */ |
---|
| 48 | |
---|
| 49 | ! #define PATCHLEVEL 38 |
---|
| 50 | |
---|
| 51 | #endif /* _PATCHLEVEL_H_ */ |
---|
| 52 | --- 26,30 ---- |
---|
| 53 | looks for to find the patch level (for the sccs version string). */ |
---|
| 54 | |
---|
| 55 | ! #define PATCHLEVEL 39 |
---|
| 56 | |
---|
| 57 | #endif /* _PATCHLEVEL_H_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.