/[gentoo-x86]/sys-process/dcron/files/dcron-2.9-EDITOR.patch
Gentoo

Contents of /sys-process/dcron/files/dcron-2.9-EDITOR.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Sep 6 04:43:32 2005 UTC (9 years, 8 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Touch up build ebuild and related files.
(Portage version: 2.0.51.22-r2)

1 fix 'crontab -e' to look at $EDITOR and not $VISUAL
2
3 --- crontab.1
4 +++ crontab.1
5 @@ -27,5 +27,5 @@
6 specify a different user and/or crontab directory. Generally the -e
7 option is used to edit your crontab. crontab will use /usr/bin/vi or
8 -the editor specified by your VISUAL environment variable to edit the
9 +the editor specified by your EDITOR environment variable to edit the
10 crontab.
11 .PP
12 --- crontab.c
13 +++ crontab.c
14 @@ -312,5 +312,5 @@
15 if (ChangeUser(user, 1) < 0)
16 exit(0);
17 - if ((ptr = getenv("VISUAL")) == NULL || strlen(ptr) > 256)
18 + if ((ptr = getenv("EDITOR")) == NULL || strlen(ptr) > 256)
19 ptr = PATH_VI;
20

  ViewVC Help
Powered by ViewVC 1.1.20