source: npl/overig/readline/readline-6.3-patches/readline63-007 @ 5160d62

perl-5.22
Last change on this file since 5160d62 was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 1.4 KB
Line 
1                           READLINE PATCH REPORT
2                           =====================
3
4Readline-Release: 6.3
5Patch-ID: readline63-007
6
7Bug-Reported-by:        John Lenton
8Bug-Reference-ID:
9Bug-Reference-URL:      https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1317476
10
11Bug-Description:
12
13Readline should allow SIGALRM and SIGVTALRM (if available) to `interrupt'
14rl_getc and cause the handler to run when not in a signal handling context.
15
16Patch (apply with `patch -p0'):
17
18*** ../readline-6.3-patched/input.c     2014-01-10 15:07:08.000000000 -0500
19--- input.c     2014-05-30 16:20:56.000000000 -0400
20***************
21*** 535,540 ****
22--- 538,551 ----
23        else if (_rl_caught_signal == SIGHUP || _rl_caught_signal == SIGTERM)
24        return (RL_ISSTATE (RL_STATE_READCMD) ? READERR : EOF);
25+       /* keyboard-generated signals of interest */
26        else if (_rl_caught_signal == SIGINT || _rl_caught_signal == SIGQUIT)
27          RL_CHECK_SIGNALS ();
28+       /* non-keyboard-generated signals of interest */
29+       else if (_rl_caught_signal == SIGALRM
30+ #if defined (SIGVTALRM)
31+               || _rl_caught_signal == SIGVTALRM
32+ #endif
33+             )
34+         RL_CHECK_SIGNALS ();
35 
36        if (rl_signal_event_hook)
37*** ../readline-6.3/patchlevel  2013-11-15 08:11:11.000000000 -0500
38--- patchlevel  2014-03-21 08:28:40.000000000 -0400
39***************
40*** 1,3 ****
41  # Do not edit -- exists only for use by patch
42 
43! 6
44--- 1,3 ----
45  # Do not edit -- exists only for use by patch
46 
47! 7
Note: See TracBrowser for help on using the repository browser.