diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2002-01-27 18:07:05 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2002-01-27 18:07:05 +0000 |
commit | f3eaa04740857b9771c6e1ca3f4e86e6696b461e (patch) | |
tree | 3e4f32b390e02585a646ac3cc5261d0a67baa567 /Src | |
parent | eec64f625afd6cd873dc35f4978f8d20b2b817fb (diff) | |
download | zsh-f3eaa04740857b9771c6e1ca3f4e86e6696b461e.tar.gz zsh-f3eaa04740857b9771c6e1ca3f4e86e6696b461e.tar.xz zsh-f3eaa04740857b9771c6e1ca3f4e86e6696b461e.zip |
16215: save and restore mult_isarr in singsub()
Diffstat (limited to 'Src')
-rw-r--r-- | Src/subst.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/subst.c b/Src/subst.c index 523e4e320..2e1c05849 100644 --- a/Src/subst.c +++ b/Src/subst.c @@ -245,11 +245,13 @@ globlist(LinkList list, int nountok) mod_export void singsub(char **s) { + int omi = mult_isarr; local_list1(foo); init_list1(foo, *s); prefork(&foo, PF_SINGLE); + mult_isarr = omi; if (errflag) return; *s = (char *) ugetnode(&foo); |