diff options
author | sbd <sbd@pkgsrc.org> | 2011-11-02 23:47:37 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2011-11-02 23:47:37 +0000 |
commit | 7625f81da8228734d7813efb2f5dad78494694d7 (patch) | |
tree | a13090be06747aa8c137bcc4c764b176f2be6268 /time/vixie-cron/patches/patch-entry.c | |
parent | 8215e6047457d620f053c265bdad43a737fc7a51 (diff) | |
download | pkgsrc-7625f81da8228734d7813efb2f5dad78494694d7.tar.gz |
Make the crontab entry '-q' option work.
Bump PKGREVISION.
Diffstat (limited to 'time/vixie-cron/patches/patch-entry.c')
-rw-r--r-- | time/vixie-cron/patches/patch-entry.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/time/vixie-cron/patches/patch-entry.c b/time/vixie-cron/patches/patch-entry.c new file mode 100644 index 00000000000..74b5661ac3f --- /dev/null +++ b/time/vixie-cron/patches/patch-entry.c @@ -0,0 +1,16 @@ +$NetBSD: patch-entry.c,v 1.1 2011/11/02 23:47:37 sbd Exp $ + +Make the crontab entry '-q' option work. + +--- entry.c.orig 2011-05-01 12:04:30.412434092 +0000 ++++ entry.c +@@ -336,7 +336,8 @@ load_entry(FILE *file, void (*error_func + + /* If the first character of the command is '-' it is a cron option. + */ +- while ((ch = get_char(file)) == '-') { ++ Skip_Blanks(ch, file) ++ while (ch == '-') { + switch (ch = get_char(file)) { + case 'q': + e->flags |= DONT_LOG; |