polynomial-c    15/01/21 11:54:51

  Added:               
                        bash-4.3-mapfile-improper-array-name-validation.patch
                        bash-4.3-arrayfunc.patch
  Removed:              bash-4.3-term-cleanup.patch
  Log:
  Added fixes from upstream. Removed old
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
0x981CA6FC)

Revision  Changes    Path
1.1                  
app-shells/bash/files/bash-4.3-mapfile-improper-array-name-validation.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/bash/files/bash-4.3-mapfile-improper-array-name-validation.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/bash/files/bash-4.3-mapfile-improper-array-name-validation.patch?rev=1.1&content-type=text/plain

Index: bash-4.3-mapfile-improper-array-name-validation.patch
===================================================================
http://lists.gnu.org/archive/html/bug-bash/2014-11/msg00097.html

--- bash-4.3/builtins/mapfile.def
+++ bash-4.3/builtins/mapfile.def
@@ -339,7 +339,7 @@
   else
     array_name = list->word->word;
   
-  if (legal_identifier (array_name) == 0 && valid_array_reference (array_name) 
== 0)
+  if (legal_identifier (array_name) == 0)
     {
       sh_invalidid (array_name);
       return (EXECUTION_FAILURE);



1.1                  app-shells/bash/files/bash-4.3-arrayfunc.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/bash/files/bash-4.3-arrayfunc.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/bash/files/bash-4.3-arrayfunc.patch?rev=1.1&content-type=text/plain

Index: bash-4.3-arrayfunc.patch
===================================================================
http://lists.gnu.org/archive/html/bug-bash/2014-11/msg00178.html

diff --git a/arrayfunc.c b/arrayfunc.c
index 804e6da..0f900aa 100644
--- a/arrayfunc.c
+++ b/arrayfunc.c
@@ -498,7 +498,7 @@ assign_compound_array_list (var, nlist, flags)
 
   for (list = nlist; list; list = list->next)
     {
-      iflags = flags;
+      iflags = (flags & ~ASS_APPEND);
       w = list->word->word;
 
       /* We have a word of the form [ind]=value */




Reply via email to