diff options
author | Jose Quinteiro <gentoo@quinteiro.org> | 2019-10-10 07:17:50 -0700 |
---|---|---|
committer | Jose Quinteiro <gentoo@quinteiro.org> | 2019-10-10 07:19:00 -0700 |
commit | f6cd408fab585e664611b4c5eea5ba69b18f9d8f (patch) | |
tree | 4274f970594f6fb4a347beb5030ba1d8926427cf /sys-process/vixie-cron/files/vixie-cron-4.1-hardlink.patch | |
parent | Remove bogus dependency on br0ken Openrc (diff) | |
download | JoseQ-f6cd408fab585e664611b4c5eea5ba69b18f9d8f.tar.gz JoseQ-f6cd408fab585e664611b4c5eea5ba69b18f9d8f.tar.bz2 JoseQ-f6cd408fab585e664611b4c5eea5ba69b18f9d8f.zip |
Save vixie-cron from being Mgornied
Signed-off-by: Jose Quinteiro <gentoo@quinteiro.org>
Diffstat (limited to 'sys-process/vixie-cron/files/vixie-cron-4.1-hardlink.patch')
-rw-r--r-- | sys-process/vixie-cron/files/vixie-cron-4.1-hardlink.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-process/vixie-cron/files/vixie-cron-4.1-hardlink.patch b/sys-process/vixie-cron/files/vixie-cron-4.1-hardlink.patch new file mode 100644 index 0000000..cabdef0 --- /dev/null +++ b/sys-process/vixie-cron/files/vixie-cron-4.1-hardlink.patch @@ -0,0 +1,11 @@ +--- database.c.orig 2007-04-08 21:06:16.913019387 +0200 ++++ database.c 2007-04-08 21:06:29.489736093 +0200 +@@ -251,7 +251,7 @@ + log_it(fname, getpid(), "WRONG FILE OWNER", tabname); + goto next_crontab; + } +- if (statbuf->st_nlink != 1) { ++ if (statbuf->st_nlink != 1 && pw != NULL) { + log_it(fname, getpid(), "BAD LINK COUNT", tabname); + goto next_crontab; + } |