]>
Commit | Line | Data |
---|---|---|
d19c8267 AF |
1 | READLINE PATCH REPORT |
2 | ===================== | |
3 | ||
4 | Readline-Release: 6.3 | |
5 | Patch-ID: readline63-004 | |
6 | ||
7 | Bug-Reported-by: Egmont Koblinger <egmont@gmail.com> | |
8 | Bug-Reference-ID: <CAGWcZk+bU5Jo1M+tutGvL-250UBE9DXjpeJVofYJSFcqFEVfMg@mail.gmail.com> | |
9 | Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-03/msg00153.html | |
10 | ||
11 | Bug-Description: | |
12 | ||
13 | The signal handling changes to bash and readline (to avoid running any code | |
14 | in a signal handler context) cause the cursor to be placed on the wrong | |
15 | line of a multi-line command after a ^C interrupts editing. | |
16 | ||
17 | Patch (apply with `patch -p0'): | |
18 | ||
19 | *** ../readline-6.3-patched/display.c 2013-12-27 13:10:56.000000000 -0500 | |
20 | --- display.c 2014-03-27 11:52:45.000000000 -0400 | |
21 | *************** | |
22 | *** 2678,2682 **** | |
23 | if (_rl_echoing_p) | |
24 | { | |
25 | ! _rl_move_vert (_rl_vis_botlin); | |
26 | _rl_vis_botlin = 0; | |
27 | fflush (rl_outstream); | |
28 | --- 2678,2683 ---- | |
29 | if (_rl_echoing_p) | |
30 | { | |
31 | ! if (_rl_vis_botlin > 0) /* minor optimization plus bug fix */ | |
32 | ! _rl_move_vert (_rl_vis_botlin); | |
33 | _rl_vis_botlin = 0; | |
34 | fflush (rl_outstream); | |
35 | *** ../readline-6.3/patchlevel 2013-11-15 08:11:11.000000000 -0500 | |
36 | --- patchlevel 2014-03-21 08:28:40.000000000 -0400 | |
37 | *************** | |
38 | *** 1,3 **** | |
39 | # Do not edit -- exists only for use by patch | |
40 | ||
41 | ! 3 | |
42 | --- 1,3 ---- | |
43 | # Do not edit -- exists only for use by patch | |
44 | ||
45 | ! 4 |