diff options
author | Jari Aalto <jari.aalto@cante.net> | 1998-07-23 14:37:54 +0000 |
---|---|---|
committer | Jari Aalto <jari.aalto@cante.net> | 2009-09-12 16:46:52 +0000 |
commit | bc4cd23ce958feda898c618215f94d8a4e8f4ffa (patch) | |
tree | 32fc9a13b636cb4d29873feddc533d3dfb25a917 /subst.c | |
parent | cce855bc5b117cb7ae70064131120687bc69fac0 (diff) | |
download | android_external_bash-bc4cd23ce958feda898c618215f94d8a4e8f4ffa.tar.gz android_external_bash-bc4cd23ce958feda898c618215f94d8a4e8f4ffa.tar.bz2 android_external_bash-bc4cd23ce958feda898c618215f94d8a4e8f4ffa.zip |
Imported from ../bash-2.02.1.tar.gz.
Diffstat (limited to 'subst.c')
-rw-r--r-- | subst.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -5033,7 +5033,11 @@ add_string: { if (list->next) { - temp = string_list (quote_list (list)); + /* Testing quoted_dollar_at makes sure that "$@" is + split correctly when $IFS does not contain a space. */ + temp = quoted_dollar_at + ? string_list_dollar_at (list, Q_DOUBLE_QUOTES) + : string_list (quote_list (list)); dispose_words (list); goto add_string; } |