Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37704413
en ru br
Репозитории ALT
S:4.06.0.7.100b-alt1
5.1: 3.14-alt1
4.1: 3.14-alt1
4.0: 3.14-alt1
3.0: 3.13-alt1
www.altlinux.org/Changes

Группа :: Система/Настройка/Прочее
Пакет: quota

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

Патч: quota-3.13-alt-vitmp.patch
Скачать


diff -upk.orig quota-3.13.orig/edquota.8 quota-3.13/edquota.8
--- quota-3.13.orig/edquota.8	2005-06-01 07:21:28 +0000
+++ quota-3.13/edquota.8	2005-06-27 21:42:29 +0000
@@ -77,7 +77,7 @@ reads the temporary file and modifies th
 the changes made.
 .LP
 The editor invoked is
-.BR vi (1)
+.BR vitmp (1)
 unless either the
 .SB EDITOR
 or the
@@ -150,7 +150,7 @@ mounted filesystems table
 .PD
 .SH SEE ALSO
 .BR quota (1),
-.BR vi (1),
+.BR vitmp (1),
 .BR quotactl (2),
 .BR quotacheck (8),
 .BR quotaon (8),
diff -upk.orig quota-3.13.orig/quotaops.c quota-3.13/quotaops.c
--- quota-3.13.orig/quotaops.c	2005-06-27 21:34:51 +0000
+++ quota-3.13/quotaops.c	2005-06-27 21:42:29 +0000
@@ -218,7 +218,7 @@ int editprivs(char *tmpfile)
 		setuid(getuid());
 		if (!(ed = getenv("VISUAL")))
 			if (!(ed = getenv("EDITOR")))
-				ed = _PATH_VI;
+				ed = "/bin/vitmp";
 		i = 0;
 		ed = actp = sstrdup(ed);
 		while (actp) {
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin