45dd87aac0
Upstream commit: Date: Fri, 1 Jun 2018 18:25:29 +0800 expand: Ensure result is escaped in cvtnum The minus sign generated from arithmetic expansion is currently unquoted which causes anomalies when the result is used in where the quoting matters. This patch fixes it by explicitly calling memtodest on the result in cvtnum. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> |
||
---|---|---|
.. | ||
bkslash_case1.right | ||
bkslash_case1.tests | ||
bkslash_case2.right | ||
bkslash_case2.tests | ||
bkslash_in_varexp1.right | ||
bkslash_in_varexp1.tests | ||
bkslash_in_varexp.right | ||
bkslash_in_varexp.tests | ||
case_glob1.right | ||
case_glob1.tests | ||
dollar_altvalue1.right | ||
dollar_altvalue1.tests | ||
dollar_altvalue2.right | ||
dollar_altvalue2.tests | ||
dollar_altvalue9.right | ||
dollar_altvalue9.tests | ||
dollar_repl_bash1.right | ||
dollar_repl_bash1.tests | ||
dollar_repl_slash_bash1.right | ||
dollar_repl_slash_bash1.tests | ||
dollar_repl_slash_bash2.right | ||
dollar_repl_slash_bash2.tests | ||
dollar_squote_bash1.right | ||
dollar_squote_bash1.tests | ||
dollar_squote_bash2.right | ||
dollar_squote_bash2.tests | ||
mode_x.right | ||
mode_x.tests | ||
negative_arith.right | ||
negative_arith.tests | ||
quote_in_varexp1.right | ||
quote_in_varexp1.tests | ||
quoted_punct.right | ||
quoted_punct.tests | ||
squote_in_varexp1.right | ||
squote_in_varexp1.tests | ||
squote_in_varexp2.right | ||
squote_in_varexp2.tests | ||
squote_in_varexp3.right | ||
squote_in_varexp3.tests | ||
squote_in_varexp.right | ||
squote_in_varexp.tests | ||
unicode_8x_chars.right | ||
unicode_8x_chars.tests |