Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37048354
en ru br
Репозитории 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
www.altlinux.org/Changes

Группа :: Работа с файлами
Пакет: mc

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: mc-4.6.2-rh-exit.patch
Скачать


--- mc-2006-08-12-18/src/command.c.exit	2005-06-07 16:16:19.000000000 +0200
+++ mc-2006-08-12-18/src/command.c	2006-08-15 12:48:12.000000000 +0200
@@ -214,6 +214,11 @@
 	size_t i, j, cmd_len;
 
 	if (!vfs_current_is_local ()) {
+		if (strcmp (cmd, "exit") == 0) {
+			quiet_quit_cmd ();
+			return MSG_HANDLED;
+		}
+
 	    message (1, MSG_ERROR,
 		     _
 		     (" Cannot execute commands on non-local filesystems"));
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin