History log of /freebsd-10.1-release/usr.sbin/cron/lib/misc.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 241125 02-Oct-2012 pluknet

Fix build with LOG_FILE undefined and DEBUGGING disabled.


# 185043 17-Nov-2008 matteo

remove a pointless prototype and static-fy the corresponding function

MFC after: 3 days


# 184809 10-Nov-2008 matteo

Make usr.sbin/cron/crontab and usr.sbin/cron/lib WARNS=3 clean

Tested with: make universe

MFC after: 3 days


# 149430 24-Aug-2005 pjd

Use pidfile(3) in cron(8).

Note, that when cron(8) cannot create pidfile, it'll exit. I didn't
changed this behaviour, but its better to ignore errors other than
EEXIST, so daemon can be started on systems where /var/ file system
doesn't support locking (like NFS without rpc.lockd(8)).


# 141571 09-Feb-2005 stefanf

Properly initialise the variable `deny'.


# 101293 04-Aug-2002 tjr

Never allow a user to use crontab if opening /var/cron/{allow,deny} fails
for any reason other than ENOENT (think resource limits). Close allow and
deny files before allowed() returns to stop the user's EDITOR being able to
read them.

Obtained from: OpenBSD (partially)


# 94389 10-Apr-2002 dwmalone

Only remove the '\n' at the end of a line if there is one.
I missed this as part of the fix to the PR below.

PR: 31265
Submitted by: Matthew D. Fuller <fullermd@over-yonder.net>
MFC after: 1 week


# 60825 23-May-2000 ghelmer

Catch and report memory allocation failures.


# 50479 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 42711 15-Jan-1999 danny

y2k nit: print 4 digit years correctly.
PR: 9506
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>


# 29452 15-Sep-1997 charnier

Use err(3). Rewrote man page in mdoc format.


# 22997 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 8857 30-May-1995 rgrimes

Remove trailing whitespace.


# 8164 29-Apr-1995 ache

Fix typo in HAVE_SAVED_UIDS define


# 2312 27-Aug-1994 jkh

This commit was generated by cvs2svn to compensate for changes in r2311,
which included commits to RCS files with non-trunk default branches.


# 2311 27-Aug-1994 jkh

Paul Vixie's cron, version 3.0. Munged into bmake format. If this goes
well, expect our two seperate directories for cron and crontab to go away
shortly.
Submitted by: jkh