OpenBSD CVS

CVS log for src/usr.sbin/cron/entry.c


[BACK] Up to [local] / src / usr.sbin / cron

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.59 / (download) - annotate - [select for diffs], Wed Jul 19 21:26:02 2023 UTC (10 months, 3 weeks ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, HEAD
Changes since 1.58: +3 -5 lines
Diff to previous 1.58 (colored)

Fix skipping of white space after the username in /etc/crontab.
Only a single white space character was consumed, we should be
consuming all white space between fields.  This change makes things
consistent with how lines without a username are parsed.
OK deraadt@ sthen@

Revision 1.58 / (download) - annotate - [select for diffs], Tue Jun 13 15:36:21 2023 UTC (11 months, 4 weeks ago) by millert
Branch: MAIN
Changes since 1.57: +73 -35 lines
Diff to previous 1.57 (colored)

Upstream fixes for @yearly, @monthly, @weekly, @daily and @hourly.
The bit_nset() macro was being called with the high value one too
large for the special strings.  There is no security impact due to
the layout of the bit strings but this was somewhat lucky.  This
introduces a set_range() function that performs range checks before
calling bit_nset().

Revision 1.57 / (download) - annotate - [select for diffs], Sun Jun 4 17:27:27 2023 UTC (12 months, 1 week ago) by millert
Branch: MAIN
Changes since 1.56: +4 -2 lines
Diff to previous 1.56 (colored)

Correct the comment in get_range() describing the range syntax.

Revision 1.56 / (download) - annotate - [select for diffs], Mon May 8 15:18:31 2023 UTC (13 months ago) by millert
Branch: MAIN
Changes since 1.55: +5 -0 lines
Diff to previous 1.55 (colored)

cron: bounds check the high and low bounds for in a random range.
The bounds are checked for normal ranges in set_element() but in
the case of random ranges this is too late.  As a result, a random
range with an invalid high/low bounds would only result in a syntax
error if the randomized value was out of bounds.  This means the
entry would be "randomly" rejected by cron or crontab.  OK kn@

Revision 1.55 / (download) - annotate - [select for diffs], Sun May 7 13:43:13 2023 UTC (13 months ago) by millert
Branch: MAIN
Changes since 1.54: +9 -2 lines
Diff to previous 1.54 (colored)

cron: check for garbage after the '~' in a random range.
A bug in the parsing of the optional number after the '~' in a
random range prevented proper syntax checking.  OK kn@

Revision 1.54 / (download) - annotate - [select for diffs], Sat May 6 23:06:27 2023 UTC (13 months ago) by millert
Branch: MAIN
Changes since 1.53: +18 -3 lines
Diff to previous 1.53 (colored)

Support random offsets when using ranges with a step value in cron.
This extends the random range syntax to support step values.  Instead
of choosing a random number between the high and low values, the
field is treated as a range with a random offset less than the step
value.  This can be used to avoid thundering herd problems where
multiple machines contact a server all at the same time via cron jobs.

The syntax is similar to the existing range/step syntax but uses a
random range.  For example, instead of "0-59/10" in the minutes
field, "0~59/10" can be used to run a command every 10 minutes where
the first command starts at a random offset in the range [0,9].
The high and low numbers are optional, "~/10" can be used instead.

Requested by job@, OK phessler@

Revision 1.53 / (download) - annotate - [select for diffs], Sat May 21 01:21:29 2022 UTC (2 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.52: +9 -9 lines
Diff to previous 1.52 (colored)

repair a few more backwards compares that create headaches
ok millert

Revision 1.52 / (download) - annotate - [select for diffs], Sat Apr 18 16:19:02 2020 UTC (4 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.51: +32 -37 lines
Diff to previous 1.51 (colored)

Rewrite the flag-parsing code to be getopt-like. Tight formations like
-ns are now possible, as well as (useless) repetition like -nnn.
ok millert

Revision 1.51 / (download) - annotate - [select for diffs], Thu Apr 16 17:51:56 2020 UTC (4 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.50: +9 -1 lines
Diff to previous 1.50 (colored)

Add a mechanism to prevent cron jobs from running concurrently.
This adds a new "-s" flag to the command field which indicates that
only a single instance of the job should run concurrenty.
OK beck@ job@ deraadt@

Revision 1.50 / (download) - annotate - [select for diffs], Wed Apr 15 01:59:34 2020 UTC (4 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.49: +44 -17 lines
Diff to previous 1.49 (colored)

Add support for random values using the '~' operator.
For example "0~30" will result in a random value between 0 and 30
inclusive.  If either (or both) of the numbers on either side of
the '~' are omitted, the appropriate limit (low or high) for the
field will be used.  OK deraadt@ beck@ jmc@

Revision 1.49 / (download) - annotate - [select for diffs], Wed Jun 13 11:27:30 2018 UTC (5 years, 11 months ago) by job
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.48: +20 -2 lines
Diff to previous 1.48 (colored)

Add crontab entry option -n for "No mail when run successful"

OK jmc@ millert@

Revision 1.48 / (download) - annotate - [select for diffs], Sat Nov 14 13:09:14 2015 UTC (8 years, 6 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.47: +6 -5 lines
Diff to previous 1.47 (colored)

Remove log_it() and call syslog(3) directly using the same format:
"(username) WHAT (details)".  Logs due to normal operation (e.g.
crontab operations or running commands) are logged at LOG_INFO like
before.  Actual errors are logged at LOG_ERR, less important things
are logged at LOG_WARNING OR LOG_NOTICE.  Also ignore SIGHUP now
that there is no log file to reopen.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Nov 9 16:37:07 2015 UTC (8 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.46: +5 -5 lines
Diff to previous 1.46 (colored)

Remove unused xpid argument to log_it().

Revision 1.46 / (download) - annotate - [select for diffs], Sun Nov 8 14:40:23 2015 UTC (8 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

Quiet silly clang analyzer warning in calloc() usage.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Nov 4 20:28:17 2015 UTC (8 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.44: +16 -2 lines
Diff to previous 1.44 (colored)

Change cron from including all headers in every file to only including
what each .c file needs.  I have not removed cron.h since it will
be used in a future clean up of the cron's .h files.  OK nicm@

Revision 1.44 / (download) - annotate - [select for diffs], Wed Nov 4 12:53:05 2015 UTC (8 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.43: +25 -15 lines
Diff to previous 1.43 (colored)

Change some globals from extern to static when they are not used
outside their respective .c files.  Also remove some unused defines.
OK jung@

Revision 1.43 / (download) - annotate - [select for diffs], Mon Oct 26 14:27:41 2015 UTC (8 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.42: +5 -5 lines
Diff to previous 1.42 (colored)

Remove some useless defines and the set_cron_uid() function.
OK jung@

Revision 1.42 / (download) - annotate - [select for diffs], Tue Oct 6 14:58:37 2015 UTC (8 years, 8 months ago) by tedu
Branch: MAIN
Changes since 1.41: +1 -7 lines
Diff to previous 1.41 (colored)

clear out some more legacy code and whatnot

Revision 1.41 / (download) - annotate - [select for diffs], Sat Oct 3 12:46:54 2015 UTC (8 years, 8 months ago) by tedu
Branch: MAIN
Changes since 1.40: +1 -16 lines
Diff to previous 1.40 (colored)

unifdef some features we will always have. ok benno zhuk

Revision 1.40 / (download) - annotate - [select for diffs], Mon Feb 9 22:35:08 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.39: +1 -5 lines
Diff to previous 1.39 (colored)

correct copyright, upon approval from paul vixie via todd miller.  the
head copyright assertion was seperated from the remaining ones.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Jan 23 19:07:27 2015 UTC (9 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.38: +9 -5 lines
Diff to previous 1.38 (colored)

braces to open a function go on their own line like god intended

Revision 1.38 / (download) - annotate - [select for diffs], Fri Jan 23 02:37:25 2015 UTC (9 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Remove the OK and ERR macros. They obfuscate the code and don't
help legibility. (unix system calls use 0 for ok, but hundreds of
other projects use 1 to indicate success.) Despite the name, many
system calls (e.g., open) also return not OK values for success.
It also cleans up some weird code like int crontab_fd = OK - 1;
This diff is mechanical in nature. Later I will fix the bugs it reveals.
ok deraadt

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jan 23 01:01:06 2015 UTC (9 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.36: +1 -24 lines
Diff to previous 1.36 (colored)

remove debug code.
I think the level of debug code in cron is excessive for a program
that has reached feature complete. If cron needs to provide more
information to the user about its operational status, I think syslog
would be more appropriate. (The debug flags also disable forking
into the background, so they aren't even that useful for debugging a
live system.)
ok deraadt millert

Revision 1.36 / (download) - annotate - [select for diffs], Thu Jan 22 22:38:55 2015 UTC (9 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

delete useless casts. ok deraadt guenther millert

Revision 1.35 / (download) - annotate - [select for diffs], Wed Jan 14 17:27:51 2015 UTC (9 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.34: +1 -3 lines
Diff to previous 1.34 (colored)

Use HAVE_FOO for BSD-specific features instead of relying on the
BSD macro from sys/param.h.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Aug 25 07:50:26 2014 UTC (9 years, 9 months ago) by doug
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

Delete secret or secret-derived data with explicit_bzero.

concept ok deraadt@
diff looks ok tedu@

Revision 1.33 / (download) - annotate - [select for diffs], Thu May 19 15:00:17 2011 UTC (13 years ago) by phessler
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.32: +9 -9 lines
Diff to previous 1.32 (colored)

Fix some possible NULL pointer dereferences, and a little bit of cleanup.

From Lawrence Teo (thanks!)

OK krw@

Revision 1.32 / (download) - annotate - [select for diffs], Thu Oct 29 18:56:47 2009 UTC (14 years, 7 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.31: +3 -2 lines
Diff to previous 1.31 (colored)

do not discard the first character of the command after the -q option
ok millert@

Revision 1.31 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:51 2009 UTC (14 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.30: +1 -5 lines
Diff to previous 1.30 (colored)

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable).  these days, people use source.  these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jan 30 20:44:50 2005 UTC (19 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.29: +4 -3 lines
Diff to previous 1.29 (colored)

fix some whitespace

Revision 1.29 / (download) - annotate - [select for diffs], Tue Jun 22 21:02:19 2004 UTC (19 years, 11 months ago) by avsm
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.28: +22 -17 lines
Diff to previous 1.28 (colored)

Recent glue_strings change reversed a few checks; fix up conditionals
to check for overflow as others do by convention.

Noticed by Andreas Kahari <ak+openbsd at freeshell.org>, millert@ ok

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jun 22 03:15:33 2004 UTC (19 years, 11 months ago) by avsm
Branch: MAIN
Changes since 1.27: +12 -12 lines
Diff to previous 1.27 (colored)

use snprintf(3) instead of home-grown glue_strings() function
millert@ ok

Revision 1.27 / (download) - annotate - [select for diffs], Thu Jun 17 22:11:55 2004 UTC (19 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.26: +15 -14 lines
Diff to previous 1.26 (colored)

UUpdate ISC copyright year to 2004
Remove unused macros Skip_Line and MkLower
Remove trailing whitespace

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jun 26 00:13:38 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

two missing protos

Revision 1.25 / (download) - annotate - [select for diffs], Thu Apr 17 14:10:47 2003 UTC (21 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.24: +12 -12 lines
Diff to previous 1.24 (colored)

Change a few return values from char to int since these functions
can return EOF.  Fixes gcc warnings (and potential problems) on ppc.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Mar 12 18:15:55 2003 UTC (21 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.23: +5 -7 lines
Diff to previous 1.23 (colored)

Move range sanity check out of get_number() and into get_range() since
it was causing problems with symbolic names (and get_range() is really
where it belongs anyway).  Also allow a range to be followed by a ','
as pointed out by mpech@

Revision 1.23 / (download) - annotate - [select for diffs], Tue Mar 11 17:54:06 2003 UTC (21 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.22: +39 -35 lines
Diff to previous 1.22 (colored)

Catch more syntax errors that were previously ignored.  I've rewritten
get_number() to be more careful about what it accepts and to take
a string of terminating characters so it knows what is valid.  Also
added a range check so that ranges like "60-50" where the first
number is greater than the second are now flagged.
Thanks to mpech@ for testing finding ways to abuse the parser :-)

Revision 1.22 / (download) - annotate - [select for diffs], Mon Mar 10 15:18:25 2003 UTC (21 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

Change a e_username to e_cmd.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Mar 10 15:13:33 2003 UTC (21 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.20: +33 -35 lines
Diff to previous 1.20 (colored)

Back out changes to get_number() that I didn't intend to commit.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Mar 10 15:09:20 2003 UTC (21 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.19: +44 -42 lines
Diff to previous 1.19 (colored)

Do the check for missing command before the un_getchar(); otherwise
the error messages will say line 0.  This is because un_getchar('\n', file)
will decrement the line count.  Noticed by mpech@

Revision 1.19 / (download) - annotate - [select for diffs], Sun Mar 9 18:13:02 2003 UTC (21 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.18: +28 -15 lines
Diff to previous 1.18 (colored)

Fix error line number reporting for syntax errors (noticed by mpech@).
This is relatively tricky due to the way EOF is overloaded.  Seems to
give a correct line number for all errors I threw at it.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Mar 4 21:47:08 2003 UTC (21 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Deref the correct passwd pointer in a Debug statement.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Feb 27 15:02:44 2003 UTC (21 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.16: +5 -3 lines
Diff to previous 1.16 (colored)

Fix parsing of '0' and non-alphanumerics in steps; found by mpech@

Revision 1.16 / (download) - annotate - [select for diffs], Thu Feb 20 20:38:08 2003 UTC (21 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.15: +10 -7 lines
Diff to previous 1.15 (colored)

Sync with ISC cron-current + my at(1) integration.
The at(1) code is now more tightly integrated into the cron codebase.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Aug 10 20:28:51 2002 UTC (21 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

Just zero out pw_passwd in the pw_dup()'d copy.  There's no need
to do this elsewhere and my previous commit in this area caused
problems on systems with an /etc/crontab file.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Aug 7 23:22:41 2002 UTC (21 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

paranoia: zero out pw_passwd since we don't need it

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jul 15 19:13:29 2002 UTC (21 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.12: +10 -5 lines
Diff to previous 1.12 (colored)

Move atrun(8) functionality into cron(8) proper.  This fixes the
long-standing annoyance that atrun's granularity is 10 minutes.
Most at jobs run with a 1 minute granularity.  Jobs submitted via
"at now" or "batch" will run immediately.  Includes a rewritten
cron(8) man page.  at(1) will be integrated more closely into
cron at a future date.

Upgrading notes:
    the atrun job in root's crontab should be removed.
    the /var/at/spool directory is no longer used

Revision 1.12 / (download) - annotate - [select for diffs], Thu Jul 11 20:15:40 2002 UTC (21 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

More syncing with my cron 4.0 patch tree, basically cosmetic:
o change an instance of e_none to e_memory that I missed (forgot?)
o kill some whitespace
o modify malloc failure recovery a bit

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jul 11 19:29:36 2002 UTC (21 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.10: +21 -25 lines
Diff to previous 1.10 (colored)

Add a new error code for memory allocation failures, e_memory and
use that instead of e_none when we run out of memory.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jul 8 18:11:02 2002 UTC (21 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.9: +44 -73 lines
Diff to previous 1.9 (colored)

Merge in some changes from Paul Vixie's tree; most are cosmetic
o ANSI function headers
o return (foo) not return foo
o add -oi to sendmail flags
o update email address in man pages
o make some strings const
o completely remove globbing cruft from popen.c
o whitespace changes
o add DOW_STAR to flags for "monthly", "weekly", and "daily" cron entries

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jun 14 21:35:01 2002 UTC (22 years ago) by todd
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

spelling; from Brian Poole <raj@cerias.purdue.edu>

Revision 1.8 / (download) - annotate - [select for diffs], Sun Feb 18 19:48:33 2001 UTC (23 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.7: +97 -59 lines
Diff to previous 1.7 (colored)

Update to ISC cron 4.0b1 + our patches.  This is now under a BSD license.
I also fixed the signal handlers while I was at it.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Aug 21 21:08:56 2000 UTC (23 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

snprintf sprinkles; solar@false.com & I

Revision 1.6 / (download) - annotate - [select for diffs], Sat Mar 18 21:23:04 2000 UTC (24 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.5: +10 -2 lines
Diff to previous 1.5 (colored)

fix parsing of commands after @ keywords and hourly bitmap handling;
sheldonh@uunet.co.za

Revision 1.5 / (download) - annotate - [select for diffs], Mon Dec 22 08:10:43 1997 UTC (26 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.4: +8 -3 lines
Diff to previous 1.4 (colored)

handle timing normally except when clock jumps between 1 and 3 hours. If it
jumps, attempt as best as possible to gaurantee that jobs DO run, but only
run ONCE; patch by thompson@.tgsoft.com

Revision 1.4 / (download) - annotate - [select for diffs], Mon Dec 16 18:40:53 1996 UTC (27 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.3: +5 -5 lines
Diff to previous 1.3 (colored)

avoid more oflows; at this stage paranoia exceeds reality by a lot since our passwd suite is fascist

Revision 1.3 / (download) - annotate - [select for diffs], Sat Dec 14 20:20:42 1996 UTC (27 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.2: +4 -1 lines
Diff to previous 1.2 (colored)

Check to make sure first char of command is not '*' since that will
alway be a syntax error.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Nov 1 23:27:32 1996 UTC (27 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.1: +44 -8 lines
Diff to previous 1.1 (colored)

Check malloc/strdup ret val and deal.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:47:30 1995 UTC (28 years, 8 months ago) by deraadt
CVS Tags: netbsd_1_1, OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:47:30 1995 UTC (28 years, 8 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.