mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-11 05:31:14 -03:00
Fix bug that broke pipe redirection
darcs-hash:20051008002308-ac50b-2ce030f667607032bb13fc16f62e1b931bfdf77d.gz
This commit is contained in:
@@ -531,7 +531,7 @@ void tok_next( tokenizer *tok )
|
||||
|
||||
if( iswdigit( *tok->buff ) )
|
||||
{
|
||||
|
||||
|
||||
wchar_t *orig = tok->buff;
|
||||
int fd = 0;
|
||||
while( iswdigit( *tok->buff ) )
|
||||
@@ -548,7 +548,7 @@ void tok_next( tokenizer *tok )
|
||||
}
|
||||
check_size( tok, 16 );
|
||||
tok->buff++;
|
||||
swprintf( tok->buff, 16, L"%d", fd );
|
||||
swprintf( tok->last, 16, L"%d", fd );
|
||||
tok->last_type = TOK_PIPE;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user