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
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.
17 Patch (apply with `patch -p0'):
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
25 ! _rl_move_vert (_rl_vis_botlin);
27 fflush (rl_outstream);
31 ! if (_rl_vis_botlin > 0) /* minor optimization plus bug fix */
32 ! _rl_move_vert (_rl_vis_botlin);
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
39 looks for to find the patch level (for the sccs version string). */
41 ! #define PATCHLEVEL 10
43 #endif /* _PATCHLEVEL_H_ */
45 looks for to find the patch level (for the sccs version string). */
47 ! #define PATCHLEVEL 11
49 #endif /* _PATCHLEVEL_H_ */