]> git.pld-linux.org Git - packages/bash.git/blame - bash30-002
24a83f78a44a6029024371f02da174dd bash30-001
[packages/bash.git] / bash30-002
CommitLineData
4e9fe84f
JB
1 BASH PATCH REPORT
2 =================
3
4Bash-Release: 3.0
5Patch-ID: bash30-002
6
7Bug-Reported-by: "Ralf S. Engelschall" <rse@engelschall.com>
8Bug-Reference-ID: <20040728082038.GA31398@engelschall.com>
9Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2004-07/msg00262.html
10
11Bug-Description:
12
13After upgrading the OpenPKG "bash" package to 3.0, we had to discover
14that the prompt handling on Bash 3.0 / Readline 5.0 is broken if a
15multiline prompt (a string containing newlines) is used. The effect is
16that on the first input line (where the last line of the prompt is the
17prefix) the input line is wrapped N characters before the last column
18where N seems to be exactly the length (including newlines) of the
19prompt ($PS1) minus the characters on the last line of the prompt.
20
21Patch:
22
23*** ../bash-3.0/lib/readline/display.c Thu May 27 22:57:51 2004
24--- lib/readline/display.c Wed Jul 28 13:48:04 2004
25***************
26*** 352,356 ****
27 &prompt_last_invisible,
28 (int *)NULL,
29! (int *)NULL);
30 c = *t; *t = '\0';
31 /* The portion of the prompt string up to and including the
32--- 352,356 ----
33 &prompt_last_invisible,
34 (int *)NULL,
35! &prompt_physical_chars);
36 c = *t; *t = '\0';
37 /* The portion of the prompt string up to and including the
38***************
39*** 359,363 ****
40 (int *)NULL,
41 &prompt_invis_chars_first_line,
42! &prompt_physical_chars);
43 *t = c;
44 return (prompt_prefix_length);
45--- 359,363 ----
46 (int *)NULL,
47 &prompt_invis_chars_first_line,
48! (int *)NULL);
49 *t = c;
50 return (prompt_prefix_length);
51
52*** ../bash-3.0/patchlevel.h Wed Aug 22 08:05:39 2001
53--- patchlevel.h Thu Sep 2 15:04:32 2004
54***************
55*** 26,30 ****
56 looks for to find the patch level (for the sccs version string). */
57
58! #define PATCHLEVEL 1
59
60 #endif /* _PATCHLEVEL_H_ */
61--- 26,30 ----
62 looks for to find the patch level (for the sccs version string). */
63
64! #define PATCHLEVEL 2
65
66 #endif /* _PATCHLEVEL_H_ */
This page took 0.035253 seconds and 4 git commands to generate.