]> git.ipfire.org Git - thirdparty/readline.git/commitdiff
Readline-6.3 patch 7
authorChet Ramey <chet.ramey@case.edu>
Mon, 11 Aug 2014 15:04:45 +0000 (11:04 -0400)
committerChet Ramey <chet.ramey@case.edu>
Mon, 11 Aug 2014 15:04:45 +0000 (11:04 -0400)
input.c
patchlevel

diff --git a/input.c b/input.c
index 117dfe826053132e250846df6a8861788e56ab89..f3f6d593c59ed017cda98e490e2cbd899584dfdc 100644 (file)
--- 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) ();
index 6ebd6a5c63717a6420e9e760cdc078d5f74dcc57..e340b58ab3b39942e48d927f82ea240ff68027b7 100644 (file)
@@ -1,3 +1,3 @@
 # Do not edit -- exists only for use by patch
 
-6
+7