summaryrefslogtreecommitdiff
path: root/usr.bin/last
AgeCommit message (Expand)Author
2012-05-12Change or add history. I checked the 1bsd archives and this firstreed
2012-03-15Tidy up: we no longer need FIRSTVALID for its original purpose, so changedholland
2012-03-15When the wtmp file is empty, for the "wtmp[x] begins..." output, usedholland
2012-03-15Keep track of the timestamp of the last (thus oldest) record seen and usedholland
2011-10-19patch from from Snader_LB via IRC.reed
2011-09-16Use __deadjoerg
2010-06-05Avoid SIGSEGV on out-of-range time_t.dholland
2009-04-12Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare)lukem
2008-12-29fix time format.christos
2008-07-21Remove the \n and tabs from the __COPYRIGHT() strings.lukem
2007-10-05Convert to raise_default_signal(3).lukem
2007-07-27Add lastlogin(8) to see also.reed
2007-01-06Respect the environment variable TMPDIR if set.cbiere
2007-01-06Pointing before a memory object is not proper C. Use an index instead ofcbiere
2007-01-06 - Applied patch by David Holland from PR bin/35354.cbiere
2007-01-06 - Use EXIT_SUCCESS/EXIT_FAILURE instead of 0/1.cbiere
2006-12-27support reading wtmp/wtmpx from stdin with -f -pooka
2006-02-28Code indentation fix up.ginsbach
2006-01-22restructure as a single level if/then/elif/elsechristos
2006-01-22Do not access out of bounds argv when mixing non-getopt -<digit> argumentsmartin
2005-03-14Remove extra ; found by gcc-2.95 and reported in port-vax.christos
2005-03-05Remove trailing whitespace, and use .Sq instead of manual quoting.wiz
2005-03-04PR/26934: Curt Sampson: Add -x flag to process wtmpx files that don't endchristos
2005-03-04PR/23409: Geoff C. Wing: make sure we only print nul terminated strings.christos
2004-11-19use sockaddr_snprintf()christos
2004-11-11Add -n to usage.wiz
2004-11-11Options without arguments are combined in SYNOPSIS; new sentence, new line.wiz
2004-11-11Add -n flag to print numeric entries.christos
2004-01-05Homogenize usage messages: make the 'usage' word all lowercase, as this seemsjmmv
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-07-14use bounded string op/asprintfitojun
2003-07-07Fix typo in error message.wiz
2003-03-03Sync usage with options; sort option string; handle N instead ofwiz
2003-03-03Bump date. Sort options, sort SEE ALSO.wiz
2003-02-28#undef TYPE(a) is not legal. Change to #undef TYPE /*(a)*/matt
2003-02-17Add wtmpx support.christos
2002-09-30New sentence, new line.grant
2001-08-21Include -T in the synopsis.simonb
2000-06-30Fix botch in previous - include the day of the month in the output!simonb
2000-06-25Extend the -T option show that it shows the year as well as seconds.simonb
2000-04-14Don't declare 'extern opt*' getopt variables.simonb
1999-03-22More and more .Os cleanups. .Os is defined in the tmac.doc-common file,garbled
1998-12-19Avoid bogus warnings produced by gcc-2.8.1 where it wants field widths to bechristos
1998-08-25Add { and } to shut up egcs. Reformat the more questionable code.ross
1998-07-06- use an array MAXHOSTNAMELEN+1 size to hold hostnamesmrg
1997-10-19fix up .Nm usagelukem
1997-10-19don't define WARNS=1 herelukem
1997-08-26Change an instance of a time_t to a (more appropriate) off_t, PR #4037,thorpej
1997-08-24* Fix compiler warningskleink
1997-07-17add -T option to display seconds, from jhawk in pr-1548perry