Author: maciek2w Date: Tue Nov 7 19:39:29 2006 GMT Module: SOURCES Tag: HEAD ---- Log message: - fix bug #18136 overview: MC wont work with new bash-3.2 propeply with all directories - patch from https://savannah.gnu.org/bugs/?18136 created by Andrey Skvortsov - rel 2
---- Files affected: SOURCES: mc-bash-3.2.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/mc-bash-3.2.patch diff -u /dev/null SOURCES/mc-bash-3.2.patch:1.1 --- /dev/null Tue Nov 7 20:39:29 2006 +++ SOURCES/mc-bash-3.2.patch Tue Nov 7 20:39:24 2006 @@ -0,0 +1,30 @@ +diff -Naur mc-4.6.1-orig/src/subshell.c mc-4.6.1/src/subshell.c +--- mc-4.6.1-orig/src/subshell.c 2005-06-07 02:19:19.000000000 -0700 ++++ mc-4.6.1/src/subshell.c 2006-11-03 12:54:30.000000000 -0800 +@@ -722,17 +722,7 @@ + * Print every character in octal format with the leading backslash. + * tcsh and zsh may require 4-digit octals, bash < 2.05b doesn't like them. + */ +- if (subshell_type == BASH) { +- for (; *s; s++) { +- /* Must quote numbers, so that they are not glued to octals */ +- if (isalpha ((unsigned char) *s)) { +- *d++ = (unsigned char) *s; +- } else { +- sprintf (d, "\\%03o", (unsigned char) *s); +- d += 4; +- } +- } +- } else { ++ + for (; *s; s++) { + if (isalnum ((unsigned char) *s)) { + *d++ = (unsigned char) *s; +@@ -741,7 +731,6 @@ + d += 5; + } + } +- } + + memcpy (d, common_end, sizeof (common_end)); + ================================================================ _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit