ALT Linux repositórios
Group :: Sistema/Configurações/Rede
RPM: quota
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: quota-3.13-alt-vitmp.patch
Download
Download
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) {