1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2026-01-15 00:31:08 +01:00

don't try to build the redirection string for the loops (for, foreach, select) (16776)

This commit is contained in:
Sven Wischnowsky 2002-03-07 08:38:44 +00:00
parent 179006f495
commit 6bfc325a94
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -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]);