mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Fix bug that broke pipe redirection
darcs-hash:20051008002308-ac50b-2ce030f667607032bb13fc16f62e1b931bfdf77d.gz
This commit is contained in:
parent
b867fc2b71
commit
47b174fa68
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue