summaryrefslogtreecommitdiffstats
path: root/usr.bin/last/last.c
Commit message (Collapse)AuthorAgeFilesLines
* Implement snapshots. The new -d option allows the user to find outdd2001-05-281-68/+173
| | | | | | who was logged in at a certain time and date. Obtained from: OpenBSD
* Don't attempt to parse %cache2001-03-211-17/+33
|
* Used macro-API to <sys/queue.h>.phk2000-12-291-13/+13
| | | | Submitted by: ben
* getopt and friends are declared in <unistd.h>imp2000-09-041-2/+0
| | | | getopt returns -1 not EOF.
* Don't call printf with no format string.kris2000-07-101-1/+1
|
* Back out the previous change to the queue(3) interface.jake2000-05-261-2/+2
| | | | | | It was not discussed and should probably not happen. Requested by: msmith and others
* Change the way that the queue(3) structures are declared; don't assume thatjake2000-05-231-2/+4
| | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd
* Reviewed by: Peter Hawkins <thepish@FreeBSD.org>danny1998-05-281-11/+32
| | | | Add s and w flags to show duration in or with seconds.
* Change variable from long to time_t where they are passed by referencejb1998-05-151-2/+3
| | | | to time().
* Add the year to the 'wtmp begins...' line.steve1998-05-031-2/+2
| | | | | PR: 6421 Submitted by: phk
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Remove one space to produce the same output alignmentache1996-12-051-3/+3
| | | | like in who, rwho, w, etc.
* Don't dereference a free()ed pointer.joerg1996-10-281-3/+5
| | | | Closes PR bin/1909: 'last' coredumps if MALLOC_OPTIONS...
* Localize timeache1996-06-171-14/+27
|
* Fixed a bug that caused last(1) to be extremely slow in some cases, anddg1995-10-171-83/+78
| | | | | | | | | 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).
* Delete bogus referneces to timezone code internal header file `tzfile.h',wollman1995-08-071-3/+2
| | | | which is no longer bogusly installed in /usr/include.
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+420
OpenPOWER on IntegriCloud