freebsd-dev/usr.sbin/cron
Dima Dorfman 5d3e1fcab1 free_entry(): Don't free e->envp if it's already NULL; likewise for
e->cmd.  free_entry() now does the right thing with
partially-initialized structures.

load_entry(): Don't call env_free() on e->envp throughout the routine
before jumping to eof; the free_entry() call at that label will take
care of it.  The previous behavior resulted in e->envp being free'd
twice (well, the second time would usually result in a crash, but
that's besides the point); once in load_entry(), and once in
free_entry() after the former called the latter.  Also note that the
check added to free_entry() (above) doesn't help, since e->envp wasn't
reset to NULL after env_free().

Submitted by:	Mark Peek <mark@whistle.com>
2001-07-18 11:48:00 +00:00
..
cron Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
crontab Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
doc Fix typo: seperate -> separate. 2001-02-06 11:21:58 +00:00
lib free_entry(): Don't free e->envp if it's already NULL; likewise for 2001-07-18 11:48:00 +00:00
Makefile Paul Vixie's cron, version 3.0. Munged into bmake format. If this goes 1994-08-27 13:43:04 +00:00
Makefile.inc $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00