summaryrefslogtreecommitdiffstats
path: root/usr.sbin/cron/lib/misc.c
Commit message (Collapse)AuthorAgeFilesLines
* remove a pointless prototype and static-fy the corresponding functionmatteo2008-11-181-2/+1
| | | | MFC after: 3 days
* Make usr.sbin/cron/crontab and usr.sbin/cron/lib WARNS=3 cleanmatteo2008-11-101-7/+3
| | | | | | Tested with: make universe MFC after: 3 days
* Use pidfile(3) in cron(8).pjd2005-08-241-59/+0
| | | | | | | 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)).
* Properly initialise the variable `deny'.stefanf2005-02-091-1/+1
|
* Never allow a user to use crontab if opening /var/cron/{allow,deny} failstjr2002-08-041-16/+23
| | | | | | | | 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)
* Only remove the '\n' at the end of a line if there is one.dwmalone2002-04-101-1/+2
| | | | | | | | 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
* Catch and report memory allocation failures.ghelmer2000-05-231-24/+30
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* y2k nit: print 4 digit years correctly.danny1999-01-161-3/+6
| | | | | PR: 9506 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
* Use err(3). Rewrote man page in mdoc format.charnier1997-09-151-43/+24
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
|
* Fix typo in HAVE_SAVED_UIDS defineache1995-04-291-2/+2
|
* Paul Vixie's cron, version 3.0. Munged into bmake format. If this goesjkh1994-08-271-0/+664
well, expect our two seperate directories for cron and crontab to go away shortly. Submitted by: jkh
OpenPOWER on IntegriCloud