mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-11 23:47:25 +00:00
reader_read( 0... => reader_read( STDIN_FILENO
This commit is contained in:
parent
c08bae6aeb
commit
04951f8b34
2 changed files with 2 additions and 2 deletions
|
@ -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
2
fish.c
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue