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
compat.c
compat.h
config.h
cron.8 New sentence, new line; use Ev for environment variable; 2004-03-20 18:54:33 +00:00
cron.c
cron.h
crontab.1
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
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