mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 01:51:14 -03:00
event_fire( 0 ); => event_fire( NULL );
This commit is contained in:
2
input.c
2
input.c
@@ -293,7 +293,7 @@ static int interrupt_handler()
|
||||
/*
|
||||
Fire any pending events
|
||||
*/
|
||||
event_fire( 0 );
|
||||
event_fire( NULL );
|
||||
|
||||
/*
|
||||
Reap stray processes, including printing exit status messages
|
||||
|
||||
4
parser.c
4
parser.c
@@ -2538,7 +2538,7 @@ int eval( const wchar_t *cmd, io_data_t *io, int block_type )
|
||||
|
||||
error_code = 0;
|
||||
|
||||
event_fire( 0 );
|
||||
event_fire( NULL );
|
||||
|
||||
while( tok_has_next( current_tokenizer ) &&
|
||||
!error_code &&
|
||||
@@ -2546,7 +2546,7 @@ int eval( const wchar_t *cmd, io_data_t *io, int block_type )
|
||||
!exit_status() )
|
||||
{
|
||||
eval_job( current_tokenizer );
|
||||
event_fire( 0 );
|
||||
event_fire( NULL );
|
||||
}
|
||||
|
||||
int prev_block_type = current_block->type;
|
||||
|
||||
Reference in New Issue
Block a user