diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2001-11-03 23:34:50 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2001-11-03 23:34:50 +0000 |
commit | be640ed5877ed88ddc9343e7c87816b3c24067f1 (patch) | |
tree | 0fcb633806ad62a61ed30abe0a6f1538c1b4001e /Src/subst.c | |
parent | 19d2273cb7bdde0b13a8858ec8c4f264a2bb11b4 (diff) | |
download | zsh-be640ed5877ed88ddc9343e7c87816b3c24067f1.tar.gz zsh-be640ed5877ed88ddc9343e7c87816b3c24067f1.tar.xz zsh-be640ed5877ed88ddc9343e7c87816b3c24067f1.zip |
16215: save and restore mult_isarr in singsub()
Diffstat (limited to 'Src/subst.c')
-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 885799534..a42b81358 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); |