diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-05-05 19:03:27 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-05-05 19:03:27 +0000 |
commit | 2bba02fdaa36de05dffef6a54b57c73259d7db53 (patch) | |
tree | 30629334749dd0fc8fe85f54d508f76aa7ce3cd0 /core/dcron/dcron-logname.patch | |
parent | ef61aa5a9cead170fa18dba44609c32bbf18306a (diff) |
Thu May 5 19:03:27 UTC 2011
Diffstat (limited to 'core/dcron/dcron-logname.patch')
-rw-r--r-- | core/dcron/dcron-logname.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/core/dcron/dcron-logname.patch b/core/dcron/dcron-logname.patch deleted file mode 100644 index c37c5f45f..000000000 --- a/core/dcron/dcron-logname.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -aur dcron-4.4/chuser.c dcron-4.4.logname/chuser.c ---- dcron-4.4/chuser.c 2010-02-15 11:18:13.111967483 +0100 -+++ dcron-4.4.logname/chuser.c 2010-02-15 11:18:29.615531204 +0100 -@@ -25,6 +25,7 @@ - return(-1); - } - setenv("USER", pas->pw_name, 1); -+ setenv("LOGNAME", pas->pw_name, 1); - setenv("HOME", pas->pw_dir, 1); - setenv("SHELL", "/bin/sh", 1); - -diff -aur dcron-4.4/crontab.1 dcron-4.4.logname/crontab.1 ---- dcron-4.4/crontab.1 2010-02-15 11:18:13.111967483 +0100 -+++ dcron-4.4.logname/crontab.1 2010-02-15 11:19:48.295707950 +0100 -@@ -57,8 +57,8 @@ - .PP - Nor does it do any special environment handling. - A shell script is better-suited to doing that than a cron daemon. --This cron daemon sets up only three environment variables: USER, --HOME, and SHELL. -+This cron daemon sets up only four environment variables: USER, -+LOGNAME, HOME, and SHELL. - .PP - Our crontab format is roughly similar to that used by vixiecron. - Individual fields may contain a time, a time range, a time range |