Commit Graph

24 Commits

Author SHA1 Message Date
is 2ee5b37e8f rewind() does an implicit clearerr(), as demanded by e.g. 1003.1. Thus,
we have to check for writing errors before rewind()ing.
2003-12-03 13:12:53 +00:00
hubertf e7469f38ad In "crontab -l", suppress the header lines, just as "crontab -e" does.
OK'd by Christos Zoulas and Paul Vixie.
Fixes PR 21705.
2003-06-23 22:36:02 +00:00
christos c7e6b87cad PR/3713: Aaron Brown: crontab fails with signals.
While I am here eliminate forking a shell for the editor.
2003-04-20 01:24:05 +00:00
perry eca50de83f set close on exec on a couple of FDs. from Charles Blundell PR security/16663 2003-04-04 01:24:09 +00:00
itojun 9593086444 use strlcpy 2002-11-16 04:34:13 +00:00
christos 250a1a772c PR/7662: TheMan: crontab does not think the file changed if the editing session
took < 1sec.
1999-05-29 18:43:40 +00:00
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
mycroft af3e07f7d1 __AUDIT__ cleanup. 1998-07-28 19:27:39 +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
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 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 ca32e63825 getopt returns -1 not EOF 1997-10-17 00:10:42 +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 c0fe650b17 Eliminate unsafe calls to strcpy() and sprintf(). 1996-12-16 22:30:43 +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 44fa25f9b7 Vixie Cron 3.0-release 1994-01-20 02:46:53 +00:00
jtc 2a22045ae0 Vixie Cron 3.0-prerelease, patch 11 1994-01-12 18:35:59 +00:00
jtc e59e4eb1ce Vixie Cron 3.0-prerelease, patch 10 1994-01-11 19:10:45 +00:00
jtc 644d4f8787 Vixie Cron 3.0-prerelease, patch 9 1994-01-05 20:40:12 +00:00