summaryrefslogtreecommitdiff
path: root/usr.bin/last/last.c
AgeCommit message (Expand)Author
2015-02-08in getopt() blocks, stop incrementing flag variable which are supposedTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-12-09init crmsg to something so it doesn't crash on invalid wtmp files.Ted Unangst
2014-11-26Prefer setvbuf() to setlinebuf() for portability; ok deraadt@Todd C. Miller
2014-04-22Instead of special casing ftpd, uucpd and others that may have entriesOkan Demirmen
2014-04-17remove special case for uucp entries.Okan Demirmen
2014-04-17Correct some time_t printing; factor out a grotty block while herePhilip Guenther
2013-08-22Correct format string mismatches turned up by -Wformat=2Philip Guenther
2013-02-18Fix after last commit: add missing header.Federico G. Schwindt
2013-02-12Reflect the -f option in last's output. Original diff from Jacob L. Leifman.lum
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-05-01add missing header needed by isdigit()Charles Longeau
2006-10-27- simplify and sort synopsisJason McIntyre
2005-11-14fix fd leak; then i got a bit carried away making the code prettierTheo de Raadt
2005-07-01Replace numeric argument handling (e.g. last -30) with something thatTodd C. Miller
2004-06-16Add a new -n option that replaces the old -number option (which nowTodd C. Miller
2004-01-08Fix uninitialized variable. From Ilya Voronin <ivoronin at trancom dot ru>Otto Moerbeek
2003-11-09Typos in comments from Jared Yanovich <jjy2+ at pitt dot edu>Otto Moerbeek
2003-08-14make 9-char login names not stretch the line; millert okTheo de Raadt
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-05-29avoid more signal racesTheo de Raadt
2003-04-25minor tweak to error message, from Eric in pr3235Ted Unangst
2003-04-14fix time spec even better; emmf26@umr.eduTheo de Raadt
2003-04-06make usage exactly like in the man page; andrushock@korovino.netTheo de Raadt
2003-04-05simple snprintf and strlcpy; henning okTheo de Raadt
2002-09-23Add missing includes, breaks and semicolons to appease gcc3; David KrauseTodd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2002-02-04fix a typo; from Sam Smith <S@mSmith.net>Michael Shalayeff
2001-11-05mark a zone of signal racesTheo de Raadt
2001-07-18-Wall cleanupPeter Valchev
2001-07-12first pass at a -Wall cleanupTheo de Raadt
2001-02-06Change host width to 24 so last produces one line per user; deraadt ok.Federico G. Schwindt
2001-01-31move utmp to large format, usernames to 32 chars; downsjTheo de Raadt
2000-12-12incorrect time specification; noted by sigh@kuzirabekon.econ.nagasaki-u.ac.jpTheo de Raadt
1998-07-13ftpd: sleep for an indeterminate amount for non-existant loginsTodd C. Miller
1998-04-25print year; mason@primenet.com.auTheo de Raadt
1998-03-10Add -c (for humans) and -s (for machines).Jason Downs
1997-08-25incorrect type for variable; enami@but-b.or.jpTheo de Raadt
1997-08-21correct [yy]yy stuff in manpages and usageTheo de Raadt
1997-07-25-T to display seconds, from jhawk netbsd-pr#1548Michael Shalayeff
1997-07-20minor cleanup on the -d flag codejdm
1997-07-20add -d flag for reporting active sessions at a specified point in time.jdm
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt