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:
parent
179006f495
commit
6bfc325a94
2 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue