summaryrefslogtreecommitdiff
path: root/package/bash/bash30-002
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-18 21:04:48 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-18 21:04:48 +0000
commit4ae49294a46a50949dd0d3a7b69b2d7d026e9dec (patch)
treeea6530a51a2ba8213f8742d832bd880fd2ca921d /package/bash/bash30-002
parenta72e82f6dce4a01911a128fc5b8cd6b0828c2bc8 (diff)
bash-3.0
Diffstat (limited to 'package/bash/bash30-002')
-rw-r--r--package/bash/bash30-00266
1 files changed, 66 insertions, 0 deletions
diff --git a/package/bash/bash30-002 b/package/bash/bash30-002
new file mode 100644
index 000000000..57ba938c8
--- /dev/null
+++ b/package/bash/bash30-002
@@ -0,0 +1,66 @@
+ BASH PATCH REPORT
+ =================
+
+Bash-Release: 3.0
+Patch-ID: bash30-002
+
+Bug-Reported-by: "Ralf S. Engelschall" <rse@engelschall.com>
+Bug-Reference-ID: <20040728082038.GA31398@engelschall.com>
+Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2004-07/msg00262.html
+
+Bug-Description:
+
+After upgrading the OpenPKG "bash" package to 3.0, we had to discover
+that the prompt handling on Bash 3.0 / Readline 5.0 is broken if a
+multiline prompt (a string containing newlines) is used. The effect is
+that on the first input line (where the last line of the prompt is the
+prefix) the input line is wrapped N characters before the last column
+where N seems to be exactly the length (including newlines) of the
+prompt ($PS1) minus the characters on the last line of the prompt.
+
+Patch:
+
+*** ../bash-3.0/lib/readline/display.c Thu May 27 22:57:51 2004
+--- lib/readline/display.c Wed Jul 28 13:48:04 2004
+***************
+*** 352,356 ****
+ &prompt_last_invisible,
+ (int *)NULL,
+! (int *)NULL);
+ c = *t; *t = '\0';
+ /* The portion of the prompt string up to and including the
+--- 352,356 ----
+ &prompt_last_invisible,
+ (int *)NULL,
+! &prompt_physical_chars);
+ c = *t; *t = '\0';
+ /* The portion of the prompt string up to and including the
+***************
+*** 359,363 ****
+ (int *)NULL,
+ &prompt_invis_chars_first_line,
+! &prompt_physical_chars);
+ *t = c;
+ return (prompt_prefix_length);
+--- 359,363 ----
+ (int *)NULL,
+ &prompt_invis_chars_first_line,
+! (int *)NULL);
+ *t = c;
+ return (prompt_prefix_length);
+
+*** ../bash-3.0/patchlevel.h Wed Aug 22 08:05:39 2001
+--- patchlevel.h Thu Sep 2 15:04:32 2004
+***************
+*** 26,30 ****
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 1
+
+ #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 2
+
+ #endif /* _PATCHLEVEL_H_ */