Sheldon Hearn
1361b1fd76
Back out previous commit. Allowing `-' as a pseudonym for /dev/stdin is
...
legacy behaviour inherited from systems that don't have /dev/stdin.
Requested by: bde
1999-07-02 12:31:31 +00:00
Sheldon Hearn
2835cbd026
Allow the use of `-' as an argument to the -w option so that standard
...
input may be used (e.g. gunzip -c /var/log/wtmp.Jan.gz | ac -w - ).
PR: 12467
Submitted by: wollman
1999-06-30 21:46:03 +00:00
Poul-Henning Kamp
1ce46cef12
/var/log/wtmp entries for ptys are treated differently in ac, since
...
they may not be logins. The code for determining whether it is a pty
entry is broken.
PR: 7137
Reviewed by: phk
Submitted by: Tom Rush <tarush@mindspring.com>
1998-07-02 05:34:08 +00:00
Steve Price
2a30154f05
Give correct times with old wtmp files.
...
PR: 4732
Submitted by: Andrew Timonin <tim@pool1.convey.ru>
1998-05-25 05:21:29 +00:00
Philippe Charnier
3efa2f585c
Style in rcsid, sort #include.
1997-09-01 06:11:40 +00:00
Warner Losh
6c3f552a31
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-31 05:11:47 +00:00
Peter Wemm
476602a9d0
Revert $FreeBSD$ to $Id$
1997-02-22 16:15:28 +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
5877948cd3
Add setlocale LC_TIME
1995-10-26 23:10:10 +00:00
Rodney W. Grimes
709e8f9ae1
Remove trailing whitespace.
1995-05-30 03:57:47 +00:00
Andrey A. Chernov
3f6dabb23b
strncmp use wrong utmp name size
...
Submitted by: rlz@zeus.id.net
1994-11-14 20:26:52 +00:00
David Greenman
ff9c3a3239
ac(8) utility, brought over from FreeBSD 1.1.5.
1994-09-26 22:12:27 +00:00