Bash-4.3 patch 40

This commit is contained in:
Chet Ramey 2015-08-13 15:38:17 -04:00
commit 8d98b94e3e
3 changed files with 2 additions and 2 deletions

View file

@ -25,6 +25,6 @@
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
looks for to find the patch level (for the sccs version string). */
#define PATCHLEVEL 39
#define PATCHLEVEL 40
#endif /* _PATCHLEVEL_H_ */

Binary file not shown.

View file

@ -5782,7 +5782,7 @@ expand_arrayref:
/* XXX - does this leak if name[@] or name[*]? */
if (pflags & PF_ASSIGNRHS)
{
temp = array_variable_name (name, &tt, (int *)0);
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);
else