]> git.ipfire.org Git - thirdparty/bash.git/commitdiff
Bash-4.3 patch 37
authorChet Ramey <chet.ramey@case.edu>
Tue, 19 May 2015 18:55:51 +0000 (14:55 -0400)
committerChet Ramey <chet.ramey@case.edu>
Tue, 19 May 2015 18:55:51 +0000 (14:55 -0400)
assoc.c
patchlevel.h

diff --git a/assoc.c b/assoc.c
index f9ed8816e305fe71b829dfef874d997319b41d1b..7298a1fba458658c0395049621f23fa6eea005cf 100644 (file)
--- a/assoc.c
+++ b/assoc.c
@@ -436,6 +436,8 @@ assoc_to_assign (hash, quoted)
 #if 1
        if (sh_contains_shell_metas (tlist->key))
          istr = sh_double_quote (tlist->key);
+       else if (ALL_ELEMENT_SUB (tlist->key[0]) && tlist->key[1] == '\0')
+         istr = sh_double_quote (tlist->key);  
        else
          istr = tlist->key;    
 #else
index 04f29739da5fdda4450ec83c491f607368174fba..a1ad6c0680b5df0a4598916fcc5df4c9aa395e3b 100644 (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 36
+#define PATCHLEVEL 37
 
 #endif /* _PATCHLEVEL_H_ */