]> git.pld-linux.org Git - packages/bash.git/blob - bash31-006
- official patches
[packages/bash.git] / bash31-006
1                              BASH PATCH REPORT
2                              =================
3
4 Bash-Release: 3.1
5 Patch-ID: bash31-006
6
7 Bug-Reported-by: Mike Frysinger <vapier@gentoo.org>
8 Bug-Reference-ID: <200601120613.11907.vapier@gentoo.org>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-01/msg00045.html
10
11 Bug-Description:
12
13 Under some circumstances, Bash can use an incorrect setting for the flag
14 that indicates whether or not the terminal can auto-wrap, resulting in line-
15 wrapping errors.
16
17 Patch:
18
19 *** ../bash-3.1/lib/readline/terminal.c Sat Nov 12 20:46:54 2005
20 --- lib/readline/terminal.c     Tue Jan 31 10:57:54 2006
21 ***************
22 *** 123,127 ****
23   
24   /* Non-zero means the terminal can auto-wrap lines. */
25 ! int _rl_term_autowrap;
26   
27   /* Non-zero means that this terminal has a meta key. */
28 --- 126,130 ----
29   
30   /* Non-zero means the terminal can auto-wrap lines. */
31 ! int _rl_term_autowrap = -1;
32   
33   /* Non-zero means that this terminal has a meta key. */
34 ***************
35 *** 275,278 ****
36 --- 278,284 ----
37        int rows, cols;
38   {
39 +   if (_rl_term_autowrap == -1)
40 +     _rl_init_terminal_io (rl_terminal_name);
41
42     if (rows > 0)
43       _rl_screenheight = rows;
44 *** ../bash-3.1/patchlevel.h    Wed Jul 20 13:58:20 2005
45 --- patchlevel.h        Wed Dec  7 13:48:42 2005
46 ***************
47 *** 26,30 ****
48      looks for to find the patch level (for the sccs version string). */
49   
50 ! #define PATCHLEVEL 5
51   
52   #endif /* _PATCHLEVEL_H_ */
53 --- 26,30 ----
54      looks for to find the patch level (for the sccs version string). */
55   
56 ! #define PATCHLEVEL 6
57   
58   #endif /* _PATCHLEVEL_H_ */
This page took 0.039304 seconds and 3 git commands to generate.