source: npl/system/bash/bash-4.3-patches/bash43-011 @ c5c522c

gcc484ntopperl-5.22
Last change on this file since c5c522c 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.5 KB
RevLine 
[c5c522c]1                             BASH PATCH REPORT
2                             =================
3
4Bash-Release:   4.3
5Patch-ID:       bash43-011
6
7Bug-Reported-by:        Egmont Koblinger <egmont@gmail.com>
8Bug-Reference-ID:       <CAGWcZk+bU5Jo1M+tutGvL-250UBE9DXjpeJVofYJSFcqFEVfMg@mail.gmail.com>
9Bug-Reference-URL:      http://lists.gnu.org/archive/html/bug-bash/2014-03/msg00153.html
10
11Bug-Description:
12
13The signal handling changes to bash and readline (to avoid running any code
14in a signal handler context) cause the cursor to be placed on the wrong
15line of a multi-line command after a ^C interrupts editing.
16
17Patch (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_ */
Note: See TracBrowser for help on using the repository browser.