| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This is useful if you have been given some time for some event in some
format and you want your computer to do something to prepare for it.
Without having to do time arithmetic in a shellscript.
The syntax matches what the at(1) usually used on Linux supports.
|
|
|
|
|
|
| |
While there, tidy up the privs.h part, where at.c has to #define to
declare some globals. Also group static and non-static global variables
in at.c.
|
|
|
|
|
| |
daylight-saving, this was actually wrong because mktime() already does that for
us.
|
| |
|
|
|
|
|
|
|
|
| |
of the recent WARNS commits. The idea is:
1) FreeBSD id tags should follow vendor tags.
2) Vendor tags should not be compiled (though copyrights probably should).
3) There should be no blank line between including cdefs and __FBSDIF.
|
| |
|
| |
|
|
|
|
|
|
| |
PR: 32242
Submitted by: Alan E <alane@geeksrus.net>
MFC after: 3 weeks
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Add rcsid. Use errx instead of fprintf + exit.
Various spelling fixes.
|
| |
|
|
|
|
|
|
|
| |
2. Rip out dateadd() and re-do the plus operator handler to use mktime()
instead (per wollman).
Reviewed by: wollman
|
| |
|
|
|
|
|
| |
PR: 7784
Submitted by: Kris Kennaway <kkennawa@physics.adelaide.edu.au>
|
|
|
|
|
|
| |
before Y2K processing.
PR: 7524
|
|
|
|
|
| |
PR: bin/7228
Submitted by: Archie Cobbs <archie@whistle.com>
|
| |
|
|
|
|
| |
the file. Put includes in alphabetical order.
|
|
|
|
| |
Simplification: if(a == 12) a -= 12 -> if(a == 12) a = 0.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
12:xx PM is 12:xx, not 24:xx.
12:xx AM is 00:xx, not 12:xx.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
| |
|
|
|
|
| |
Jan 31 gave Jan 30, often for next year.
|
|
|