Репозитории ALT
S: | 4.8.30-alt3 |
5.1: | 4.8.11-alt0.M51.1 |
4.1: | 4.6.2-alt7.pre1 |
4.0: | 4.6.1r-alt9 |
3.0: | 4.6.1r-alt3 |
Группа :: Работа с файлами
Пакет: mc
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: mc-4.6.1-alt-promptfix.patch
Скачать
Скачать
--- mc-4.6.1/src/main.c.orig 2005-10-30 19:01:30 +0300
+++ mc-4.6.1/src/main.c 2005-10-30 19:04:10 +0300
@@ -702,7 +702,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) {