Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 42907 Details for
Bug 69407
bash-3.0-r7 has problem with wide char
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bash-3.0-utf-8.patch
bash-3.0-utf-8.patch (text/plain), 1.48 KB, created by
S.Caglar Onur
on 2004-10-30 06:39:33 UTC
(
hide
)
Description:
bash-3.0-utf-8.patch
Filename:
MIME Type:
Creator:
S.Caglar Onur
Created:
2004-10-30 06:39:33 UTC
Size:
1.48 KB
patch
obsolete
>diff -ur bash-3.0.orig/lib/readline/display.c bash-3.0/lib/readline/display.c >--- bash-3.0.orig/lib/readline/display.c 2004-10-30 16:28:14.000000000 +0300 >+++ bash-3.0/lib/readline/display.c 2004-10-30 16:31:01.552871888 +0300 >@@ -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. */ >diff -ur bash-3.0.orig/lib/readline/histexpand.c bash-3.0/lib/readline/histexpand.c >--- bash-3.0.orig/lib/readline/histexpand.c 2004-03-22 15:27:31.000000000 +0200 >+++ bash-3.0/lib/readline/histexpand.c 2004-10-30 16:30:09.149838360 +0300 >@@ -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)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 69407
:
42907
|
43427
|
43522
|
48318
|
48319
|
48320
|
48321
|
48322
|
48323
|
48324
|
48325
|
48326
|
48328
|
59114
|
63407