Commit Graph

26 Commits

Author SHA1 Message Date
bde
2015121deb #include <sys/time.h> instead of depending on namespace pollution in
<sys/stat.h> for the declaration of struct timeval (sys/stat.h> only
needs timespecs even when its POSIX support is not turned on, so it
shouldn't declare timevals).

Fixed some #include messes.
2002-02-25 04:47:39 +00:00
mike
0a8d67f762 o Remove the -V [version number] option, since our version of at(1) no
longer resembles the original.
o Remove references to `you' in the manual.

Submitted by:	Joe Halpin <joe.halpin@attbi.com>
2002-01-22 03:04:15 +00:00
mike
2624e483f0 Implement the POSIX 1003.1-2001 -r and -t options in at(1). Fix some
minor issues in the rest of the source and manual.

Submitted by:	Joe Halpin <joe.halpin@attbi.com>
Obtained from:	touch(1) (partially)
MFC after:	1 month
2002-01-13 20:21:08 +00:00
dwmalone
d9613ea383 Style improvements recommended by Bruce as a follow up to some
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.
2001-12-10 21:13:08 +00:00
markm
d46c91fd8b Use __FBSDID() 2001-12-02 20:23:02 +00:00
markm
1713f5e655 WARNS=2 fixup. 2001-12-02 12:26:18 +00:00
kris
70a0876b07 Remove some unsafe function calls from the signal handlers.
Obtained from:	OpenBSD
Reviewed by:	audit
MFC after:	2 weeks
2001-09-01 07:35:25 +00:00
obrien
ee6fd791db Expland `mymalloc' with malloc + error checking. 2001-07-24 14:15:51 +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
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
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
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
ache
77a5efddf4 Add setlocale LC_TIME 1995-10-24 05:09:54 +00:00
ache
5a4e23dc5e Upgrade to 2.9 1995-08-21 12:34:18 +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
nate
bef6395210 Added at/atrm/atq/batch from Linux as hacked by Chris Demetriou. 1994-01-05 01:09:14 +00:00