summaryrefslogtreecommitdiffstats
path: root/usr.bin/last
AgeCommit message (Expand)AuthorFilesLines
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-3/+3
2018-08-03pledge() a little later, after getopt operation, in case -f option changesderaadt1-4/+6
2015-10-29pledge "stdio rpath".deraadt1-1/+4
2015-08-20Do not cast result of malloc/calloc/realloc* if stdlib.h is in scopederaadt1-3/+3
2015-03-15tzfile.h is an internal header that should never have been installed.millert1-2/+3
2015-03-14use ctime_r to avoid a re-entrancy signal racederaadt1-3/+3
2015-02-08in getopt() blocks, stop incrementing flag variable which are supposedderaadt1-3/+3
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt1-3/+3
2014-12-09init crmsg to something so it doesn't crash on invalid wtmp files.tedu1-2/+2
2014-11-26Prefer setvbuf() to setlinebuf() for portability; ok deraadt@millert1-2/+2
2014-04-22Instead of special casing ftpd, uucpd and others that may have entriesokan1-5/+13
2014-04-17remove special case for uucp entries.okan1-6/+3
2014-04-17Correct some time_t printing; factor out a grotty block while hereguenther1-49/+41
2013-08-22Correct format string mismatches turned up by -Wformat=2guenther1-3/+3
2013-02-18Fix after last commit: add missing header.fgsch1-1/+2
2013-02-12Reflect the -f option in last's output. Original diff from Jacob L. Leifman.lum1-3/+3
2011-12-31Fix HISTORY and AUTHORS of another 1BSD utility that i missed at first;schwarze1-4/+10
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-14/+1
2009-05-01add missing header needed by isdigit()chl1-2/+3
2007-05-31convert to new .Dd format;jmc1-2/+2
2007-02-06discuss consistently "the Epoch";jmc1-2/+2
2006-10-27expand the description of -d somewhat;jmc1-1/+12
2006-10-27- update Nd somewhatjmc1-3/+3
2006-10-27- simplify and sort synopsisjmc2-40/+39
2005-11-14fix fd leak; then i got a bit carried away making the code prettierderaadt1-106/+95
2005-07-01Replace numeric argument handling (e.g. last -30) with something thatmillert1-14/+18
2004-06-16Add a new -n option that replaces the old -number option (which nowmillert2-13/+25
2004-01-08Fix uninitialized variable. From Ilya Voronin <ivoronin at trancom dot ru>otto1-3/+3
2003-11-09Typos in comments from Jared Yanovich <jjy2+ at pitt dot edu>otto1-3/+3
2003-08-14make 9-char login names not stretch the line; millert okderaadt1-35/+34
2003-06-10mostly ansi cleanup; pval okderaadt1-23/+12
2003-06-03Remove the advertising clause in the UCB license which Berkeleymillert2-13/+5
2003-05-29avoid more signal racesderaadt1-8/+8
2003-04-25minor tweak to error message, from Eric in pr3235tedu1-3/+3
2003-04-14fix time spec even better; emmf26@umr.eduderaadt2-9/+9
2003-04-06make usage exactly like in the man page; andrushock@korovino.netderaadt1-13/+21
2003-04-05simple snprintf and strlcpy; henning okderaadt1-8/+7
2002-09-23Add missing includes, breaks and semicolons to appease gcc3; David Krausemillert1-2/+3
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert1-11/+11
2002-02-04fix a typo; from Sam Smith <S@mSmith.net>mickey1-31/+31
2001-11-05mark a zone of signal racesderaadt1-2/+3
2001-07-18-Wall cleanuppvalchev1-7/+7
2001-07-12first pass at a -Wall cleanupderaadt1-16/+17
2001-02-06Change host width to 24 so last produces one line per user; deraadt ok.fgsch1-3/+3
2001-01-31move utmp to large format, usernames to 32 chars; downsjderaadt1-14/+17
2000-12-17data base -> databasemillert1-2/+2
2000-12-12incorrect time specification; noted by sigh@kuzirabekon.econ.nagasaki-u.ac.jpderaadt2-6/+6
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manaaron1-2/+2
2000-06-07correct description; sarnold@intertrust.comderaadt1-3/+3
2000-03-23More pedantic man page formatting insanity, lalalaaaron1-10/+10