Commit Graph

7 Commits

Author SHA1 Message Date
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 eb7456fc97 Remove one space to produce the same output alignment
like in who, rwho, w, etc.
1996-12-05 17:56:05 +00:00
Joerg Wunsch 19bb578358 Don't dereference a free()ed pointer.
Closes PR bin/1909: 'last' coredumps if MALLOC_OPTIONS...
1996-10-28 07:47:34 +00:00
Andrey A. Chernov 3905c66a6a Localize time 1996-06-17 16:44:16 +00:00
David Greenman c83d3f4574 Fixed a bug that caused last(1) to be extremely slow in some cases, and
made other performance improving changes. This improves the performance
of last(1) by as much as 32 times in some cases, and in more typical cases
is about twice as fast.
Added a BUGS section to the manual page to describe the behavior of last(1)
when a login shell terminates abnormally (and thus doesn't write a logout
record to the wtmp file).
1995-10-17 18:26:43 +00:00
Garrett Wollman 656dcd4316 Delete bogus referneces to timezone code internal header file `tzfile.h',
which is no longer bogusly installed in /usr/include.
1995-08-07 19:17:46 +00:00
Rodney W. Grimes 9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00