From: Chet Ramey Date: Mon, 12 Aug 2019 14:58:01 +0000 (-0400) Subject: commit bash-20190809 snapshot X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c3bca1d0a5261959c501553da7aa964e428dca6c;p=thirdparty%2Fbash.git commit bash-20190809 snapshot --- diff --git a/subst.c b/subst.c index 6660fa18b..10a1d9061 100644 --- a/subst.c +++ b/subst.c @@ -10337,8 +10337,8 @@ add_twochars: if (word->flags & W_NOPROCSUB) tword->flags |= W_NOPROCSUB; -if (word->flags & W_ASSIGNRHS) - tword->flags |= W_ASSIGNRHS; + if (word->flags & W_ASSIGNRHS) + tword->flags |= W_ASSIGNRHS; temp = (char *)NULL; @@ -11216,6 +11216,7 @@ glob_expand_word_list (tlist, eflags) register int glob_index; WORD_LIST *glob_list, *output_list, *disposables, *next; WORD_DESC *tword; + int x; output_list = disposables = (WORD_LIST *)NULL; glob_array = (char **)NULL; @@ -11237,7 +11238,7 @@ glob_expand_word_list (tlist, eflags) /* If the word isn't an assignment and contains an unquoted pattern matching character, then glob it. */ if ((tlist->word->flags & W_NOGLOB) == 0 && - unquoted_glob_pattern_p (tlist->word->word)) + (x = unquoted_glob_pattern_p (tlist->word->word))) { glob_array = shell_glob_filename (tlist->word->word);