From 5c7bd1170a79620cde6ac37ba756896c5d008d7f Mon Sep 17 00:00:00 2001 From: Chet Ramey Date: Mon, 11 Aug 2014 11:04:45 -0400 Subject: [PATCH] Readline-6.3 patch 7 --- input.c | 8 ++++++++ patchlevel | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/input.c b/input.c index 117dfe8..f3f6d59 100644 --- a/input.c +++ b/input.c @@ -534,8 +534,16 @@ rl_getc (stream) return (RL_ISSTATE (RL_STATE_READCMD) ? READERR : EOF); else if (_rl_caught_signal == SIGHUP || _rl_caught_signal == SIGTERM) return (RL_ISSTATE (RL_STATE_READCMD) ? READERR : EOF); + /* keyboard-generated signals of interest */ else if (_rl_caught_signal == SIGINT || _rl_caught_signal == SIGQUIT) RL_CHECK_SIGNALS (); + /* non-keyboard-generated signals of interest */ + else if (_rl_caught_signal == SIGALRM +#if defined (SIGVTALRM) + || _rl_caught_signal == SIGVTALRM +#endif + ) + RL_CHECK_SIGNALS (); if (rl_signal_event_hook) (*rl_signal_event_hook) (); diff --git a/patchlevel b/patchlevel index 6ebd6a5..e340b58 100644 --- a/patchlevel +++ b/patchlevel @@ -1,3 +1,3 @@ # Do not edit -- exists only for use by patch -6 +7 -- 2.47.3