diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2002-03-07 08:38:44 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2002-03-07 08:38:44 +0000 |
commit | 6bfc325a94de11952079c703d7fc23efa7d14241 (patch) | |
tree | ee079258b58cb5761e1ea202a8f5ff52578474d9 | |
parent | 179006f49515992aafb7312780adb41dd2ada9e5 (diff) | |
download | zsh-6bfc325a94de11952079c703d7fc23efa7d14241.tar.gz zsh-6bfc325a94de11952079c703d7fc23efa7d14241.tar.xz zsh-6bfc325a94de11952079c703d7fc23efa7d14241.zip |
don't try to build the redirection string for the loops (for, foreach, select) (16776)
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Src/Zle/zle_tricky.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index b2cb341ac..2190ee882 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2002-03-07 Sven Wischnowsky <wischnow@zsh.org> + * 16776: Src/Zle/zle_tricky.c: don't try to build the + redirection string for the loops (for, foreach, select) + * 16774: Functions/Misc/zrecompile: make zrecompile show the error messages from zcompile unless the -q option is given diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c index 788f5f8ec..43d234843 100644 --- a/Src/Zle/zle_tricky.c +++ b/Src/Zle/zle_tricky.c @@ -1086,7 +1086,7 @@ get_comp_string(void) else linarr = 0; } - if (inredir) { + if (inredir && IS_REDIROP(tok)) { rdstr = rdstrbuf; if (tokfd >= 0) sprintf(rdop, "%d%s", tokfd, tokstrings[tok]); |