From f533861f868afc167aae06968db5bc138729189f Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Mon, 12 Nov 2007 13:57:46 -0800 Subject: patched with "debian_patches" in bash_3.1dfsg-8.diff.gz --- arrayfunc.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'arrayfunc.c') diff --git a/arrayfunc.c b/arrayfunc.c index 3bdd54f..76116bc 100644 --- a/arrayfunc.c +++ b/arrayfunc.c @@ -592,11 +592,7 @@ array_expand_index (s, len) exp = (char *)xmalloc (len); strncpy (exp, s, len - 1); exp[len - 1] = '\0'; -#if 0 - t = expand_string_to_string (exp, 0); -#else - t = expand_string_to_string (exp, Q_DOUBLE_QUOTES); -#endif + t = expand_arith_string (exp, 0); this_command_name = (char *)NULL; val = evalexp (t, &expok); free (t); -- cgit v1.2.3