summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/parse.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 99e7ccca6..c70c0de9f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-06-28 Peter Stephenson <p.w.stephenson@ntlworld.com>
+
+ * 35643: Src/parse.c: redirections after typeset assignments
+ were broken.
+
2015-06-27 Barton E. Schaefer <schaefer@zsh.org>
* 35642: Src/context.c: signal queueing in zcontext_save_partial()
diff --git a/Src/parse.c b/Src/parse.c
index 477f8a0ab..09567fde2 100644
--- a/Src/parse.c
+++ b/Src/parse.c
@@ -1868,6 +1868,8 @@ par_simple(int *cmplx, int nr)
*cmplx = c = 1;
nrediradd = par_redir(&r, NULL);
p += nrediradd;
+ if (ppost)
+ ppost += nrediradd;
sr += nrediradd;
} else if (tok == ENVSTRING) {
char *ptr, *name, *str;