summaryrefslogtreecommitdiff
path: root/usr.bin/finger/util.c
AgeCommit message (Expand)Author
2015-12-26Use pread/pwrite instead separate lseek+read/write for lastlog.Philip Guenther
2015-08-20Do not cast result of malloc/calloc/realloc* if stdlib.h is in scopeTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-11-19Use stravis() instead of a custom() strvis + mallocarray wrapper.Todd C. Miller
2014-11-18Nuke more obvious #include duplications.Kenneth R Westerback
2014-10-17Instead of doing strvis() of gecos string on output, do it whenTodd C. Miller
2014-10-17Use strlcpy() instead of strncpy() when making a copy of pw_gecos.Todd C. Miller
2014-10-17strvis() requires that the buffer is at least 4 * srclen + 1.Doug Hogan
2013-11-26unsigned char casts for ctypeTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2005-08-23use vis() consistently in field printing.Marc Espie
2005-03-15change some silly snprintf(buf, buflen, "%s", login) calls to just useNiall O'Higgins
2004-03-15Wall, commons, little knfTed Unangst
2003-07-02protosTheo de Raadt
2003-06-25delete junk protosTheo 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
2001-01-15typoTheo de Raadt
2001-01-15oopsTheo de Raadt
2001-01-10error out for strdup() failuresTheo de Raadt
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
1999-08-17More <sys/file.h> vs. <fcntl.h> and open() flags fixes.Todd C. Miller
1998-07-10err/warnMichael Shalayeff
1998-01-09Fix PR 379. Don't recycle the malloc'd space in vs().Todd C. Miller
1997-06-30clarify why the long typecast is thereTheo de Raadt
1997-06-17(foo *)NULL -> NULLkstailey
1997-06-02do strvis()ing in sprint.ckstailey
1997-05-30Integrate changed from NetBSD being careful not to step on our importantkstailey
1996-08-30buf oflow; found by das33@cornell.edu and us crazy calgary night owlsTheo de Raadt
1996-08-07People can be 'logged in' from non-existant devices.Jason Downs
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt