Robert Drehmel
6d6c6baac4
- Use MAXLOGNAME - 1 instead of UT_NAMESIZE.
...
- Do not pretend there is something like '/etc/utmp'.
2002-07-22 11:32:16 +00:00
Tim J. Robbins
dfd339a02c
Add the SUSv3 -l option to at. This is an alias for atq. Allow job ids
...
to be specified on the command line for which information should be reported.
Submitted by: Joe Halpin <joe.halpin@attbi.com>
Reviewed by: mike
2002-05-16 00:47:14 +00:00
Jun Kuriyama
18ddb1400d
Change whtespace indent in format string to fit new output form of
...
timestamp.
Reviewed by: markm
2002-05-08 11:23:45 +00:00
Bruce Evans
8b179749d8
#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 Barcroft
e1bc822ebe
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 Barcroft
d81986de07
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
David Malone
9f5b04e925
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
Mark Murray
51e2220c27
Use __FBSDID()
2001-12-02 20:23:02 +00:00
Mark Murray
3ce6c35745
WARNS=2 fixup.
2001-12-02 12:26:18 +00:00
Kris Kennaway
ffacb1a399
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
David E. O'Brien
a9be9be874
Expland `mymalloc' with malloc + error checking.
2001-07-24 14:15:51 +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
Warner Losh
96846ff646
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 Cobbs
5f618f92e3
Eliminate compiler warnings from -Wall
1998-12-06 07:42:09 +00:00
Stephen McKay
f4a747a11b
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
Warner Losh
1c8af87873
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
Andrey A. Chernov
08a77c42e1
Back out MAXLOGNAME fix, Bruce points that copyinstr require NUL
1997-03-03 07:59:54 +00:00
Andrey A. Chernov
6fa0fa0ec9
Fix MAXLOGNAME usage, the code has wrong assumption that it must be
...
NULL terminated
1997-03-02 21:40:17 +00:00
Peter Wemm
c115df18cd
Revert $FreeBSD$ to $Id$
1997-02-22 19:58:13 +00:00
David Nugent
a88368cfdf
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
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
Andrey A. Chernov
238d3ffda9
Add setlocale LC_TIME
1995-10-24 05:09:54 +00:00
Andrey A. Chernov
ddcf802236
Upgrade to 2.9
1995-08-21 12:34:18 +00:00
Rodney W. Grimes
7799f52a32
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
Andrey A. Chernov
b5c3f5e746
Remove setre* hacks, we have working thing now
1995-04-27 19:27:42 +00:00
Andrey A. Chernov
9cb939b4b4
Fight over non-working setruid
1995-04-15 22:08:10 +00:00
Andrey A. Chernov
b89321a57d
Upgrade.
1995-04-12 02:42: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