diff options
Diffstat (limited to 'trap.c')
-rw-r--r-- | trap.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -499,13 +499,10 @@ trap_handler (sig) /* Set the event hook so readline will call it after the signal handlers finish executing, so if this interrupted character input we can get quick response. */ - if (RL_ISSTATE (RL_STATE_SIGHANDLER) && interrupt_immediately == 0) + if (RL_ISSTATE (RL_STATE_SIGHANDLER)) bashline_set_event_hook (); #endif - if (interrupt_immediately) - run_pending_traps (); - errno = oerrno; } @@ -514,6 +511,7 @@ trap_handler (sig) int next_pending_trap (start) + int start; { register int i; |