summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2009-03-01 21:40:58 +0100
committerPeter Alfredsen <loki_val@gentoo.org>2009-03-01 21:40:58 +0100
commitbdcefc6cef22d351bc067630bebaed0c02d0ec30 (patch)
tree2211e5320f79e9d229d2ab97460bdfd5595559b0 /app-shells/bash/files/bash-3.0-utf8.patch
parentAdd libopenjpeg (diff)
downloadloki_val-bdcefc6cef22d351bc067630bebaed0c02d0ec30.tar.gz
loki_val-bdcefc6cef22d351bc067630bebaed0c02d0ec30.tar.bz2
loki_val-bdcefc6cef22d351bc067630bebaed0c02d0ec30.zip
Punt cruft
Diffstat (limited to 'app-shells/bash/files/bash-3.0-utf8.patch')
-rw-r--r--app-shells/bash/files/bash-3.0-utf8.patch47
1 files changed, 0 insertions, 47 deletions
diff --git a/app-shells/bash/files/bash-3.0-utf8.patch b/app-shells/bash/files/bash-3.0-utf8.patch
deleted file mode 100644
index 8f10db9..0000000
--- a/app-shells/bash/files/bash-3.0-utf8.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-Hack around this bug:
-
-http://lists.gnu.org/archive/html/bug-bash/2004-10/msg00419.html
-
-not suitable for upstream; need a proper fix
-
-http://bugs.gentoo.org/108936
-http://bugs.gentoo.org/69407
-
---- bash-3.0/lib/readline/display.c
-+++ bash-3.0/lib/readline/display.c
-@@ -1414,7 +1414,7 @@
- insert_some_chars (nfd, lendiff, col_lendiff);
- _rl_last_c_pos += col_lendiff;
- }
-- else if (*ols == 0 && lendiff > 0)
-+ else if ((MB_CUR_MAX == 1 || rl_byte_oriented != 0) && *ols == 0 && col_lendiff > 0)
- {
- /* At the end of a line the characters do not have to
- be "inserted". They can just be placed on the screen. */
---- bash-3.0/lib/readline/histexpand.c
-+++ bash-3.0/lib/readline/histexpand.c
-@@ -206,6 +206,7 @@
-
- /* Only a closing `?' or a newline delimit a substring search string. */
- for (local_index = i; c = string[i]; i++)
-+ {
- #if defined (HANDLE_MULTIBYTE)
- if (MB_CUR_MAX > 1 && rl_byte_oriented == 0)
- {
-@@ -222,7 +223,6 @@
- continue;
- }
- }
-- else
- #endif /* HANDLE_MULTIBYTE */
- if ((!substring_okay && (whitespace (c) || c == ':' ||
- (history_search_delimiter_chars && member (c, history_search_delimiter_chars)) ||
-@@ -230,7 +230,7 @@
- string[i] == '\n' ||
- (substring_okay && string[i] == '?'))
- break;
--
-+ }
- which = i - local_index;
- temp = (char *)xmalloc (1 + which);
- if (which)