Commit Graph

39 Commits

Author SHA1 Message Date
peter
e4b04a2b21 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nsayer
fb35aa89fa 1. Add support for months and years in relative time spec (now + 1 year)
2. Rip out dateadd() and re-do the plus operator handler to use mktime()
instead (per wollman).

Reviewed by:	wollman
1999-08-26 16:18:38 +00:00
mpp
d8ec3b9266 Various man page cleanup:
- Sort xrefs
- Be consistent with section names as outlines in mdoc(7).
- Other misc mdoc cleanup.

PR:		doc/13144
Submitted by:	Alexey M. Zelkin <phantom@cris.net>
1999-08-15 08:25:34 +00:00
billf
517cc3c451 (1) Don't perror() when at.deny doesn't exist, that's an accepted behavior.
(2) Die when there is a problem opening at.allow other then it not existing.
    An error other then it not existing might be a trick to somehow
    circumvent system security.

Mostly Reviewed By:	msmith
1999-07-01 01:07:30 +00:00
imp
b8d073ef7a More egcs warning fixes:
o main returns int not void
	o use return 0 at end of main when needed
	o use braces to avoid potentially ambiguous else
	o don't default to type int
	o #ifdef 0 -> #if 0

Reviewed by: obrien and chuckr
1999-04-25 22:37:58 +00:00
fenner
bcb8a8bf5f Clean up some .Os macro uses: quotes are not needed, multiple arguments
don't really work if the first one isn't "FreeBSD", and "FreeBSD-Experimental"
isn't an OS name.
1999-02-15 08:34:14 +00:00
archie
bba999ead8 Eliminate compiler warnings from -Wall 1998-12-06 07:42:09 +00:00
mckay
bac0659de0 atq ignored locale info when printing dates. Is the other call to
setlocale() just in the wrong place?

PR:	8300
1998-10-15 13:30:48 +00:00
obrien
04be6dc763 Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:06 +00:00
steve
b2b833995d Typo fix: garbeld -> garbled
PR:		7784
Submitted by:	Kris Kennaway <kkennawa@physics.adelaide.edu.au>
1998-08-30 17:33:05 +00:00
alex
98bba03f6b Year is sometimes set to -1 when assign_date() is called. Check for -1
before Y2K processing.

PR:		7524
1998-08-08 14:02:06 +00:00
des
159027b6bb Recognize long month names in addition to short ones.
PR:		bin/7228
Submitted by:	Archie Cobbs <archie@whistle.com>
1998-07-09 22:51:59 +00:00
imp
4cf95b6cfa $@ is deprecated, use ${.TARGET} instead. Ditto for other single character
$n.
PR:		 conf/3273
1998-06-09 04:07:23 +00:00
steve
16359590c3 Fix a bunch of spelling errors.
PR:		6856
Submitted by:	Josh Gilliam <josh@quick.net>
1998-06-04 21:06:07 +00:00
alex
ff65aa7a6b Permit double digit year values to be used in the next millenium. 1998-05-05 01:53:15 +00:00
charnier
1bf317d31f .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
charnier
b4590e311f Revert part of previous commit. I didn't see rcsid string in the middle of
the file. Put includes in alphabetical order.
1997-06-24 06:26:32 +00:00
charnier
179ea916f3 Use err(3).
Simplification: if(a == 12) a -= 12 -> if(a == 12) a = 0.
1997-06-23 06:44:18 +00:00
imp
cd84ece5fd compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
ache
26e48e5f06 Back out MAXLOGNAME fix, Bruce points that copyinstr require NUL 1997-03-03 07:59:54 +00:00
ache
e0ea988dd7 Fix MAXLOGNAME usage, the code has wrong assumption that it must be
NULL terminated
1997-03-02 21:40:17 +00:00
peter
aef78d145b Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
davidn
71c8ab6788 Fix for hard-coded length of login name.
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>

Closes #PR bin/2755
1997-02-18 05:47:07 +00:00
jkh
9c0cd3f9df 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.
1997-01-14 07:20:47 +00:00
jdp
b7d52f9eb2 Fix botches in the handling of "AM" and "PM":
12:xx PM is 12:xx, not 24:xx.
    12:xx AM is 00:xx, not 12:xx.
1996-07-19 00:44:55 +00:00
bde
dbf7db4c11 Use ${ECHO} instead of echo' so that make -s' is fairly quiet. 1996-02-25 20:25:05 +00:00
wosch
96d07711e3 making <page>.1 from <page>.man 1996-02-06 23:48:03 +00:00
peter
639da796bd recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
ache
0d813e4855 Add setlocale LC_TIME 1995-10-24 05:09:54 +00:00
joerg
20544f7bb9 Describe the correct default situation for the various permission
options.

Submitted by:	sgk@troutmask.apl.washington.edu (Steven G. Kargl)
1995-10-05 06:18:48 +00:00
ache
b957e6b2a1 Upgrade to 2.9 1995-08-21 12:34:18 +00:00
joerg
b7539be05f Make parsetime.c more consistent by using the (already declared) enum
type instead of int all over the place.  (Cosmetic, enhances
debugging.)

Point out that a date specification _must_ follow the time of day
spec, in the man page.  This clarifies the last point PR # of bin/483:
"at doesn't seem to ..." (the remainder has already been fixed with
version 1.3 of parsetime.c).
1995-06-24 17:15:56 +00:00
rgrimes
79e59e9123 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
ache
1d9cd983aa Remove setre* hacks, we have working thing now 1995-04-27 19:27:42 +00:00
ache
55e903512e Fight over non-working setruid 1995-04-15 22:08:10 +00:00
ache
4bdb8183e7 Upgrade. 1995-04-12 02:42:39 +00:00
bde
88c35f905c Fix off by one error in calculation of `mday' (months start at 1).
Jan 31 gave Jan 30, often for next year.
1995-01-31 17:54:39 +00:00
nate
627a8d57a7 Changed reference from NetBSD to FreeBSD 1994-01-05 01:10:24 +00:00
nate
275c83ed61 Added at/atrm/atq/batch from Linux as hacked by Chris Demetriou. 1994-01-05 01:09:14 +00:00