David E. O'Brien
a9be9be874
Expland `mymalloc' with malloc + error checking.
2001-07-24 14:15:51 +00:00
Sheldon Hearn
f4510294cb
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
Philippe Charnier
81c8c7a454
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 Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Nick Sayer
b6c989ff40
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
Archie Cobbs
5f618f92e3
Eliminate compiler warnings from -Wall
1998-12-06 07:42:09 +00:00
Steve Price
3297b869e3
Typo fix: garbeld -> garbled
...
PR: 7784
Submitted by: Kris Kennaway <kkennawa@physics.adelaide.edu.au>
1998-08-30 17:33:05 +00:00
Alexander Langer
1f939e3414
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
Dag-Erling Smørgrav
b9dd99f2f5
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
Alexander Langer
1dbfc421b6
Permit double digit year values to be used in the next millenium.
1998-05-05 01:53:15 +00:00
Philippe Charnier
e5e5da15e2
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
Philippe Charnier
12d20ef97d
Use err(3).
...
Simplification: if(a == 12) a -= 12 -> if(a == 12) a = 0.
1997-06-23 06:44:18 +00:00
Peter Wemm
c115df18cd
Revert $FreeBSD$ to $Id$
1997-02-22 19:58:13 +00:00
Jordan K. Hubbard
1130b656e5
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
John Polstra
9b2ea11c98
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
Andrey A. Chernov
ddcf802236
Upgrade to 2.9
1995-08-21 12:34:18 +00:00
Joerg Wunsch
29eaad36e5
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
Rodney W. Grimes
7799f52a32
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
Andrey A. Chernov
b89321a57d
Upgrade.
1995-04-12 02:42:39 +00:00
Bruce Evans
68abb9f9db
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 Williams
d78e98d22e
Added at/atrm/atq/batch from Linux as hacked by Chris Demetriou.
1994-01-05 01:09:14 +00:00