NetBSD/usr.sbin/cron
christos 36e8d2b792 PR/28744: Ed Ravin: crontab with fewer than 3 comment lines dumps core
in crontab -l.
The problem is that the skip_header code has a side effect of trying to
write to the new temporary cron tab if we run out of comments. Since we
don't have an output file in -l, we core-dump trying to fputc to NULL.
Simplify the logic so that we don't write in the skip_header function,
and we always return the first character after the comment lines to the
caller, skipping the '\n'.
2004-12-22 00:49:14 +00:00
..
Makefile PR/15142: Kevin P. Neal: cron does not pay attention to login_cap(3) 2003-03-14 21:56:07 +00:00
compat.c
compat.h Unifdef __STDC__. 2002-07-14 09:59:23 +00:00
config.h
cron.8 New sentence, new line; use Ev for environment variable; 2004-03-20 18:54:33 +00:00
cron.c Implement CRON_TZ and CRON_WITHIN to provide finer control over job 2002-04-25 14:45:05 +00:00
cron.h
crontab.1 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
crontab.5 Fix indentation of a line in the sample file. 2004-09-02 11:41:27 +00:00
crontab.c PR/28744: Ed Ravin: crontab with fewer than 3 comment lines dumps core 2004-12-22 00:49:14 +00:00
database.c use strlcpy 2002-11-16 04:34:13 +00:00
do_command.c log also the time when the job finishes (with CMD FINISH tag), and change 2004-03-20 10:42:00 +00:00
entry.c Set DO[WM]_STAR if we mean `*' so that @yearly/@monthly/@weekly are 2004-02-27 23:22:09 +00:00
env.c Add (unsigned char) cast to ctype functions 2004-10-29 20:51:11 +00:00
externs.h
job.c Jobs specified for @reboot are only popped into the job queue at cron 2003-08-13 03:51:15 +00:00
misc.c Add (unsigned char) cast to ctype functions 2004-10-29 20:51:11 +00:00
pathnames.h
popen.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:25:11 +00:00
user.c