Bug 9678

Summary: utf8 prompt patch
Product: Sisyphus Reporter: Michael Shigorin <mike>
Component: mcAssignee: Igor Zubkov <icesik>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: asy, icesik, morozov, vvk
Version: unstable   
Hardware: all   
OS: Linux   

Description Michael Shigorin 2006-06-06 11:26:27 MSD
<morozov/work> Увидишь Джавдета....

michael@michael:~/work/build.stable/home/michael/work/patches/mc/mc-4.6.1/debian/patches$
cat 48_utf8_prompt.patch
--- src/main.c.orig    2006-06-05 21:09:24.000000000 +0700
+++ src/main.c  2006-06-06 02:58:56.000000000 +0700
@@ -699,7 +699,7 @@
       int prompt_len;

       prompt = strip_ctrl_codes (subshell_prompt);
-      prompt_len = strlen (prompt);
+      prompt_len = mbstrlen (prompt);

       /* Check for prompts too big */
       if (COLS > 8 && prompt_len > COLS - 8) {



Expected Results:  
PS: могу забрать, если тебе влом.
Comment 1 Igor Zubkov 2006-10-18 16:32:29 MSD
Легло на сборку в /i/S/
Comment 2 Igor Zubkov 2006-10-19 15:13:47 MSD
новый маинтейнер
Comment 3 Igor Zubkov 2006-10-19 15:16:32 MSD
fixed