psss / rpms / bash

Forked from rpms/bash 6 years ago
Clone
Blob Blame History Raw
*** ../bash-4.3-patched/subst.c 2014-10-01 12:57:47.000000000 -0400
--- subst.c     2015-06-22 09:16:53.000000000 -0400
***************
*** 5783,5787 ****
        if (pflags & PF_ASSIGNRHS)
          {
!           temp = array_variable_name (name, &tt, (int *)0);
            if (ALL_ELEMENT_SUB (tt[0]) && tt[1] == ']')
  	    temp = array_value (name, quoted|Q_DOUBLE_QUOTES, 0, &atype, &ind);
--- 5783,5787 ----
        if (pflags & PF_ASSIGNRHS)
          {
!           var = array_variable_part (name, &tt, (int *)0);
            if (ALL_ELEMENT_SUB (tt[0]) && tt[1] == ']')
  	    temp = array_value (name, quoted|Q_DOUBLE_QUOTES, 0, &atype, &ind);