sheldonh
9787eba10e
Y2K fix. at(1) would die with 'garbled time' when assign_date() was
...
pased a year > 99. This change fixes the conversion of 2-digit years
into tm_year format.
This change is differs from the OpenBSD fix because of differences
in our assign_date().
PR: 15872
Reported by: "Crist J. Clark" <cjclark@home.com>
Submitted by: "Sergey N. Voronkov" <serg@dor.zaural.ru>
Obtained from: OpenBSD
2000-03-27 09:32:23 +00:00
charnier
4bd9a70bb4
Typo
2000-03-26 14:29:45 +00:00
mpp
0de2441780
Change the usage of the .Nm macro in the NAME section to be
...
consistent with the rest of the system.
2000-03-24 00:30:30 +00:00
charnier
345f916537
Correct use of .Nm, .Em, .Ev
...
Add rcsid. Use errx instead of fprintf + exit.
Various spelling fixes.
1999-12-05 19:57:14 +00:00
peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
nsayer
fc7337e0f6
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
678c6e21bd
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
73d3a9b398
(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
22f901a57c
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
1fff269456
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
731caa6ae4
Eliminate compiler warnings from -Wall
1998-12-06 07:42:09 +00:00
mckay
098b4f80dd
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
18dba2fe21
Remove useless `BINOWN=root' now that it is the default.
1998-09-19 22:42:06 +00:00
steve
bd87efc753
Typo fix: garbeld -> garbled
...
PR: 7784
Submitted by: Kris Kennaway <kkennawa@physics.adelaide.edu.au>
1998-08-30 17:33:05 +00:00
alex
4ca2e8e620
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
39b76225e4
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
276491a1c6
$@ is deprecated, use ${.TARGET} instead. Ditto for other single character
...
$n.
PR: conf/3273
1998-06-09 04:07:23 +00:00
steve
260fa64a35
Fix a bunch of spelling errors.
...
PR: 6856
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-04 21:06:07 +00:00
alex
25b5448723
Permit double digit year values to be used in the next millenium.
1998-05-05 01:53:15 +00:00
charnier
409a50cddf
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.
1998-03-23 07:48:45 +00:00
charnier
96376ee333
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
ff79b92da8
Use err(3).
...
Simplification: if(a == 12) a -= 12 -> if(a == 12) a = 0.
1997-06-23 06:44:18 +00:00
imp
141381e1cb
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
78407f0914
Back out MAXLOGNAME fix, Bruce points that copyinstr require NUL
1997-03-03 07:59:54 +00:00
ache
26bd0fe0b6
Fix MAXLOGNAME usage, the code has wrong assumption that it must be
...
NULL terminated
1997-03-02 21:40:17 +00:00
peter
f390c26dd9
Revert $FreeBSD$ to $Id$
1997-02-22 19:58:13 +00:00
davidn
8feba284f5
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
808a36ef65
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
699492bba8
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
536f40a1eb
Use ${ECHO} instead of echo' so that
make -s' is fairly quiet.
1996-02-25 20:25:05 +00:00
wosch
3a72155781
making <page>.1 from <page>.man
1996-02-06 23:48:03 +00:00
peter
ab124e78b0
recording cvs-1.6 file death
1995-12-30 19:02:48 +00:00
ache
77a5efddf4
Add setlocale LC_TIME
1995-10-24 05:09:54 +00:00
joerg
3813e69df9
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
5a4e23dc5e
Upgrade to 2.9
1995-08-21 12:34:18 +00:00
joerg
dfc3543be3
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
a14d555c87
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
ache
7fa24f3661
Remove setre* hacks, we have working thing now
1995-04-27 19:27:42 +00:00
ache
01787c4b0d
Fight over non-working setruid
1995-04-15 22:08:10 +00:00
ache
3ec57b4b68
Upgrade.
1995-04-12 02:42:39 +00:00
bde
410788f921
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
bcc5e5de92
Changed reference from NetBSD to FreeBSD
1994-01-05 01:10:24 +00:00
nate
bef6395210
Added at/atrm/atq/batch from Linux as hacked by Chris Demetriou.
1994-01-05 01:09:14 +00:00