lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

118-upstream-bash43-018.patch (1141B)


      1 			     BASH PATCH REPORT
      2 			     =================
      3 
      4 Bash-Release:	4.3
      5 Patch-ID:	bash43-018
      6 
      7 Bug-Reported-by:	Geir Hauge <geir.hauge@gmail.com>
      8 Bug-Reference-ID:	<CAO-BiTLOvfPXDypg61jcBausADrxUKJejakV2WTWP26cW0=rgA@mail.gmail.com>
      9 Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2014-05/msg00040.html
     10 
     11 Bug-Description:
     12 
     13 When assigning an array variable using the compound assignment syntax,
     14 but using `declare' with the rhs of the compound assignment quoted, the
     15 shell did not mark the variable as visible after successfully performing
     16 the assignment.
     17 
     18 Patch (apply with `patch -p0'):
     19 --- a/arrayfunc.c
     20 +++ b/arrayfunc.c
     21 @@ -179,6 +179,7 @@ bind_array_var_internal (entry, ind, key
     22      array_insert (array_cell (entry), ind, newval);
     23    FREE (newval);
     24  
     25 +  VUNSETATTR (entry, att_invisible);	/* no longer invisible */
     26    return (entry);
     27  }
     28  
     29 --- a/patchlevel.h
     30 +++ b/patchlevel.h
     31 @@ -25,6 +25,6 @@
     32     regexp `^#define[ 	]*PATCHLEVEL', since that's what support/mkversion.sh
     33     looks for to find the patch level (for the sccs version string). */
     34  
     35 -#define PATCHLEVEL 17
     36 +#define PATCHLEVEL 18
     37  
     38  #endif /* _PATCHLEVEL_H_ */