From: Chet Ramey Date: Tue, 19 May 2015 18:55:51 +0000 (-0400) Subject: Bash-4.3 patch 37 X-Git-Tag: bash-4.4~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1cfd8d27f67f098b420b7cd9edf95df75f37283a;p=thirdparty%2Fbash.git Bash-4.3 patch 37 --- diff --git a/assoc.c b/assoc.c index f9ed8816e..7298a1fba 100644 --- 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 diff --git a/patchlevel.h b/patchlevel.h index 04f29739d..a1ad6c068 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -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_ */