diff options
author | Chet Ramey <chet.ramey@case.edu> | 2022-01-04 16:58:20 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2022-01-04 16:58:20 -0500 |
commit | 6b9422dbe3917a0affb4898e38156d22cbec64e8 (patch) | |
tree | 64ccd5562ff77588288aa0df7ce052189c8d6d3d | |
parent | 15409324f1974d41c183904ad575da7188058c1c (diff) | |
download | bash-6b9422dbe3917a0affb4898e38156d22cbec64e8.tar.gz |
Bash-5.1 patch 13: fix tilde expansion after unquoted colons in posix mode
-rw-r--r-- | patchlevel.h | 2 | ||||
-rw-r--r-- | subst.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/patchlevel.h b/patchlevel.h index eb2aca52..d8a1b2a9 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 12 +#define PATCHLEVEL 13 #endif /* _PATCHLEVEL_H_ */ @@ -3825,6 +3825,7 @@ expand_string_assignment (string, quoted) #else td.flags = W_ASSIGNRHS; #endif + td.flags |= (W_NOGLOB|W_TILDEEXP); td.word = savestring (string); value = call_expand_word_internal (&td, quoted, 0, (int *)NULL, (int *)NULL); FREE (td.word); |