Browse Source

add one more patch which fixes another segfault

Ralf S. Engelschall 22 years ago
parent
commit
1e1ac04d45
1 changed files with 17 additions and 0 deletions
  1. 17 0
      bash/bash.patch

+ 17 - 0
bash/bash.patch

@@ -131,3 +131,20 @@ This patch adds an explicit recognition for terminal sequence "kD" to be
    _rl_keymap = xkeymap;
  }
 
+-----------------------------------------------------------------------------
+
+This patch makes sure Bash does not segfault on a particular error.
+It is derived from RedHat Linux.
+
+--- builtins/common.c.warnings	2003-03-25 17:48:02.000000000 +0000
++++ builtins/common.c	2003-03-25 17:49:03.000000000 +0000
+@@ -244,7 +244,7 @@
+      char *s;
+ {
+   if (s)
+-    builtin_error ("%s: no job control");
++    builtin_error ("%s: no job control", s);
+   else
+     builtin_error ("no job control");
+ }
+