reader_read( 0... => reader_read( STDIN_FILENO

This commit is contained in:
Grissiom 2010-09-18 20:26:54 +08:00
parent c08bae6aeb
commit 04951f8b34
2 changed files with 2 additions and 2 deletions

View file

@ -3434,7 +3434,7 @@ static int builtin_breakpoint( wchar_t **argv )
{
parser_push_block( BREAKPOINT );
reader_read( 0, real_io );
reader_read( STDIN_FILENO, real_io );
parser_pop_block();

2
fish.c
View file

@ -323,7 +323,7 @@ int main( int argc, char **argv )
{
if( my_optind == argc )
{
res = reader_read( 0, 0 );
res = reader_read( STDIN_FILENO, 0 );
}
else
{