]>
Commit | Line | Data |
---|---|---|
ce84ace5 MT |
1 | BASH PATCH REPORT |
2 | ================= | |
3 | ||
4 | Bash-Release: 4.3 | |
5 | Patch-ID: bash43-011 | |
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 | *** ../bash-4.3-patched/lib/readline/display.c 2013-12-27 13:10:56.000000000 -0500 | |
20 | --- lib/readline/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 | *** ../bash-4.3/patchlevel.h 2012-12-29 10:47:57.000000000 -0500 | |
36 | --- patchlevel.h 2014-03-20 20:01:28.000000000 -0400 | |
37 | *************** | |
38 | *** 26,30 **** | |
39 | looks for to find the patch level (for the sccs version string). */ | |
40 | ||
41 | ! #define PATCHLEVEL 10 | |
42 | ||
43 | #endif /* _PATCHLEVEL_H_ */ | |
44 | --- 26,30 ---- | |
45 | looks for to find the patch level (for the sccs version string). */ | |
46 | ||
47 | ! #define PATCHLEVEL 11 | |
48 | ||
49 | #endif /* _PATCHLEVEL_H_ */ |