summaryrefslogtreecommitdiffstats
path: root/Src/subst.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-11-20 23:46:26 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-11-20 23:46:26 +0000
commite6946adf57a44fe84781f20c395ba51bd39fd4d9 (patch)
tree029ca814f09f54fadfd73baf9280b2ab0555ac4b /Src/subst.c
parent28419: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst: (diff)
downloadzsh-e6946adf57a44fe84781f20c395ba51bd39fd4d9.tar
zsh-e6946adf57a44fe84781f20c395ba51bd39fd4d9.tar.gz
zsh-e6946adf57a44fe84781f20c395ba51bd39fd4d9.tar.bz2
zsh-e6946adf57a44fe84781f20c395ba51bd39fd4d9.tar.lz
zsh-e6946adf57a44fe84781f20c395ba51bd39fd4d9.tar.xz
zsh-e6946adf57a44fe84781f20c395ba51bd39fd4d9.tar.zst
zsh-e6946adf57a44fe84781f20c395ba51bd39fd4d9.zip
28425: remove null arguments and untokenize
Diffstat (limited to 'Src/subst.c')
-rw-r--r--Src/subst.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/subst.c b/Src/subst.c
index 23c3a7bb5..12825ff93 100644
--- a/Src/subst.c
+++ b/Src/subst.c
@@ -1403,6 +1403,8 @@ check_colon_subscript(char *str, char **endp)
if (parsestr(str = dupstring(str)))
return NULL;
singsub(&str);
+ remnulargs(str);
+ untokenize(str);
**endp = sav;
return str;