Commit Graph

52 Commits

Author SHA1 Message Date
cjs d49fc436a6 Reduce default crontab size limit to 32K. Use the limit in
/var/cron/maxtabsize, if that file exists.
1999-04-09 02:47:03 +00:00
cjs a1d7b99e1e Make sure that the crontab is not an unreasonable size.
(Currently MAXCRONTABSIZE is 256 KB.)
1999-04-08 21:30:02 +00:00
thorpej bc5e782935 Don't rely on an `rcsid' being present. 1999-03-23 22:53:30 +00:00
aidan 3d3560d6aa Apply soda's patch to make environment sets act like the man-page
documentation.  i.e., strip the spaces around the '=' sign.
1999-03-22 22:18:45 +00:00
fair 47d8058ff9 Patch from PR#6570 to correct for some drift in the calculation of how
many seconds to sleep before next queue run.
1999-03-17 20:57:05 +00:00
aidan e04cec137b Allow quote-escaping of environment variable names so that they may contain
spaces again.
1998-10-12 22:15:47 +00:00
scw cae1a093d5 Quell a compiler warning introduced by the last change. 1998-10-11 10:27:46 +00:00
aidan 2169ed2a6f An environment variable name can no longer have spaces in it. This is to
let commands of the form
* * * * * command flag=value
be interpreted as commands instead of environment settings.
1998-10-07 23:18:29 +00:00
mycroft af3e07f7d1 __AUDIT__ cleanup. 1998-07-28 19:27:39 +00:00
mycroft 907740b591 Nuke redundant extern. 1998-07-26 13:27:34 +00:00
msaitoh 4944940fcf Declare ints, too, don't default them. 1998-07-09 18:32:52 +00:00
mrg 32f519716b - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:56:06 +00:00
kleink 3b86eeb257 Include <time.h> unconditionally, as there always dependencies on its
definitions.
1998-04-01 20:59:08 +00:00
christos 0499e8aedb WARNSify 1998-02-22 12:17:31 +00:00
thorpej 7137b45cd0 Cast time_t to long for printing. 1998-02-04 21:51:44 +00:00
christos 9f5b6131b3 Y2K fixes: in arpadate (currently not used) format the time using strftime,
using the format other mail programs use.
1998-02-04 15:27:19 +00:00
frueauf fbebae54cf check_error uses type "const char *" instead of "char *" as argument.
reflects recent change to cron.h.
1998-02-01 14:36:36 +00:00
christos 12a6e4b92e Add missing ARGS_MAX 1998-01-31 15:07:14 +00:00
christos 0335fca704 Remove crappy globbing stubs. If the feature needs to be added it should
be using glob(3).
1998-01-31 14:44:47 +00:00
christos 9ac7be0692 Warnsify:
- add __RCSID
	- remove nested comments
	- remove register and auto keywords
	- change into posix signals
	- fix prototypes
1998-01-31 14:40:13 +00:00
lukem 44c22033e4 use CPPFLAGS instead of CFLAGS 1997-10-23 06:31:59 +00:00
mycroft 004f255040 Use S_IS*(), not S_IF*. 1997-10-19 19:27:40 +00:00
lukem f5bf267d90 enable WARNS=1 by default, but disable in unclean 3rd party code 1997-10-18 06:42:25 +00:00
lukem ca32e63825 getopt returns -1 not EOF 1997-10-17 00:10:42 +00:00
mouse 2ebe693d57 Mark my changes, per Vixie's license at the top. 1997-07-20 02:54:55 +00:00
mouse 82b0af12ec Document the @ commands (@reboot, @hourly, etc).
Closes the rest of PR 2806.
1997-07-13 11:01:16 +00:00
mouse f454390b54 Oops, also document day-of-month values as starting from 1, not 0. 1997-07-13 10:52:19 +00:00
mouse ac5c1e0f93 Document allowed month numbers correctly, per PR 2806.
(@ command docs on their way.)
1997-07-13 10:42:58 +00:00
mrg c4fc1d57cf eliminate scanf. 1997-04-14 08:18:36 +00:00
mikel 9d6bac5230 fix misplaced parens in sizeof exprs; from Simon Burge in PR bin/3427. 1997-04-03 06:14:37 +00:00
mikel 2b8bc7438f RCSid police 1997-03-13 06:19:07 +00:00
thorpej 2622084d37 Fix possible buffer overflow, from Rick Byers <rickb@iaw.on.ca>,
PR #3293.
1997-03-06 23:37:04 +00:00
thorpej c0fe650b17 Eliminate unsafe calls to strcpy() and sprintf(). 1996-12-16 22:30:43 +00:00
fvdl a90e5523d6 Use the 'nochdir' argument to daemon(), so as not to undo the chdir
already done. Close PR 3025,3026,3023
1996-12-14 12:06:48 +00:00
mycroft 5d4bdd4971 Use daemon() to background. 1996-12-08 13:28:21 +00:00
mycroft 0cc4d5f125 Patch from Mike Pritchard to use `-t' option to sendmail, and prevent
overrunning some arrays.
1995-04-14 19:49:32 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
cgd d8806814a6 specify man pages the new way. 1994-12-22 11:32:57 +00:00
jtc 2ca7c91a3e Pass -oi to sendmail so that a single dot is not interpreted as end of
message.
1994-12-20 18:33:40 +00:00
jtc 85613afae4 Change HAVE_SAVED_SUIDS to HAVE_SAVED_UIDS to match macro of the same
name which is defined in compat.h if compiling on a modern BSD system.
1994-08-31 19:28:50 +00:00
jtc 31e884ea51 Vixie uses curly brackets instead of square brackets to indicate
command line arguments are mutually exclusive.  But I'd like all
NetBSD programs/manpages to be consistant with each other.
1994-03-30 01:46:43 +00:00
jtc 887f390664 Vixie Cron 3.0, patch 1 1994-01-26 19:09:20 +00:00
jtc 837601413b Don't compile with compat.c, since our C library allready has all the
functions it provides.
1994-01-20 02:56:55 +00:00
jtc 44fa25f9b7 Vixie Cron 3.0-release 1994-01-20 02:46:53 +00:00
jtc 87448ee50c All logging now goes through syslog. 1994-01-13 21:59:27 +00:00
jtc 2a22045ae0 Vixie Cron 3.0-prerelease, patch 11 1994-01-12 18:35:59 +00:00
jtc e827862b77 Vixie Cron 3.0-prerelease, patch 11 1994-01-12 18:35:45 +00:00
jtc 59f16ac068 Vixie Cron 3.0-prerelease, patch 11 1994-01-12 18:34:24 +00:00
jtc e59e4eb1ce Vixie Cron 3.0-prerelease, patch 10 1994-01-11 19:10:45 +00:00
jtc 5f2a029904 Remove -DCRONDIR, macro is set correctly in pathnames.h. 1994-01-05 21:10:29 +00:00