summaryrefslogtreecommitdiff
path: root/bash/bash-2.05b/s390-build.patch
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-11-09 00:36:47 +0000
committerChris Larson <clarson@kergoth.com>2004-11-09 00:36:47 +0000
commitf96441b9faf769c9ecdd4d338b605ea3d0cc4010 (patch)
treeedb17ec2c4ea13c5acb1c7350957a249a820e28d /bash/bash-2.05b/s390-build.patch
parentb6588aa6851fb220cedc387d21c51513ef8d67f4 (diff)
Disable bk EOLN_NATIVE conversions on all files in packages FILESPATHs, to prevent it screwing up patches.
BKrev: 4190111fA4MuVozAqwE7xOSL9fr-TA
Diffstat (limited to 'bash/bash-2.05b/s390-build.patch')
-rw-r--r--bash/bash-2.05b/s390-build.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/bash/bash-2.05b/s390-build.patch b/bash/bash-2.05b/s390-build.patch
index e69de29bb2..15e4203e0c 100644
--- a/bash/bash-2.05b/s390-build.patch
+++ b/bash/bash-2.05b/s390-build.patch
@@ -0,0 +1,46 @@
+*** ../bash-2.05b/parse.y Tue May 21 11:57:30 2002
+--- ./parse.y Thu Sep 26 12:08:19 2002
+***************
+*** 4525,4529 ****
+ set_line_mbstate ()
+ {
+! int i, previ, len;
+ mbstate_t mbs, prevs;
+ size_t mbclen;
+--- 4534,4538 ----
+ set_line_mbstate ()
+ {
+! int i, previ, len, c;
+ mbstate_t mbs, prevs;
+ size_t mbclen;
+***************
+*** 4540,4544 ****
+ mbs = prevs;
+
+! if (shell_input_line[i] == EOF)
+ {
+ int j;
+--- 4549,4554 ----
+ mbs = prevs;
+
+! c = shell_input_line[i];
+! if (c == EOF)
+ {
+ int j;
+***************
+*** 4564,4568 ****
+ else
+ {
+! /* mbrlen doesn't return any other values */
+ }
+
+--- 4574,4582 ----
+ else
+ {
+! /* XXX - what to do if mbrlen returns 0? (null wide character) */
+! int j;
+! for (j = i; j < len; j++)
+! shell_input_line_property[j] = 1;
+! break;
+ }
+