imp
3c95f9ccde
getopt and friends are declared in <unistd.h>
...
getopt returns -1 not EOF.
2000-09-04 06:09:54 +00:00
kris
805d9e79e2
Don't call printf with no format string.
2000-07-10 06:02:13 +00:00
jake
961b97d434
Back out the previous change to the queue(3) interface.
...
It was not discussed and should probably not happen.
Requested by: msmith and others
2000-05-26 02:09:24 +00:00
jake
d93fbc9916
Change the way that the queue(3) structures are declared; don't assume that
...
the type argument to *_HEAD and *_ENTRY is a struct.
Suggested by: phk
Reviewed by: phk
Approved by: mdodd
2000-05-23 20:41:01 +00:00
danny
f5105e25f5
Reviewed by: Peter Hawkins <thepish@FreeBSD.org>
...
Add s and w flags to show duration in or with seconds.
1998-05-28 00:58:29 +00:00
jb
41abcb86d3
Change variable from long to time_t where they are passed by reference
...
to time().
1998-05-15 12:28:43 +00:00
steve
a0bf7cf6b6
Add the year to the 'wtmp begins...' line.
...
PR: 6421
Submitted by: phk
1998-05-03 23:19:15 +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
f204d1bbee
Remove one space to produce the same output alignment
...
like in who, rwho, w, etc.
1996-12-05 17:56:05 +00:00
joerg
2b0d357ce4
Don't dereference a free()ed pointer.
...
Closes PR bin/1909: 'last' coredumps if MALLOC_OPTIONS...
1996-10-28 07:47:34 +00:00
ache
8accda5bc3
Localize time
1996-06-17 16:44:16 +00:00
dg
fb897fab53
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
wollman
fc1f6c1d76
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
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00