| History log of /src/usr.bin/finger/util.c |
| Revision | | Date | Author | Comments |
| 1.31 |
| 24-May-2022 |
andvar | fix various typos in comment, documentation and log messages.
|
| 1.30 |
| 07-May-2020 |
kim | Add lastlogx support
|
| 1.29 |
| 09-Mar-2016 |
chs | branches: 1.29.18; in find_idle_and_ttywrite(), initialize idletime and writable to 0 when stat() fails. this prevents a coredump later in stimeprint() due to gmtime() returning NULL for an uninitialized idletime.
|
| 1.28 |
| 12-Apr-2009 |
lukem | branches: 1.28.24; Fix WARNS=4 issues (-Wshadow, -Wcast-qual, -Wsign-compare)
|
| 1.27 |
| 05-May-2007 |
christos | branches: 1.27.20; PR/36278: David A. Holland: hard-coded paths in finger
|
| 1.26 |
| 17-Mar-2006 |
rumble | Ensure that malloc does not return NULL before copying the buffer.
|
| 1.25 |
| 17-Mar-2006 |
elad | Fix two off-by-ones found by Coverity.
|
| 1.24 |
| 04-Jan-2006 |
perry | de-__P, ANSIfy prototypes, and kill register
|
| 1.23 |
| 12-Nov-2004 |
christos | PR/28264: Miles Nordin: finger does not consult utmp if a username is specified
|
| 1.22 |
| 30-Oct-2004 |
dsl | Add (unsigned char) cast to ctype functions
|
| 1.21 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
|
| 1.20 |
| 12-Jul-2003 |
itojun | strlcpy
|
| 1.19 |
| 20-Jan-2003 |
simonb | The Double-Semi-Colon Police.
|
| 1.18 |
| 02-Aug-2002 |
christos | support utmpx; no lastlogx support yet.
|
| 1.17 |
| 05-Feb-2001 |
christos | fix nested extern
|
| 1.16 |
| 07-Jul-2000 |
itojun | errx?/warnx? audit. do not pass variable alone, use %s. idea from openbsd
|
| 1.15 |
| 09-Nov-1999 |
drochner | branches: 1.15.4; Since our gcc doesn't warn about NULL format strings anymore, we can fix the incorrect err(1, "%s", "") et al. Closes PR bin/7592 by cgd.
|
| 1.14 |
| 19-Dec-1998 |
christos | branches: 1.14.6; char -> unsigned char
|
| 1.13 |
| 10-Aug-1998 |
perry | bzero->memset, bcopy->memcpy, bcmp->memcmp
|
| 1.12 |
| 26-Jul-1998 |
mycroft | const poisoning.
|
| 1.11 |
| 19-Oct-1997 |
mrg | merge lite-2. WARNSify. clean up .Nm.
|
| 1.10 |
| 17-May-1997 |
pk | NULL => 0 (Arne Juul; PR#3629)
|
| 1.9 |
| 09-Jan-1997 |
tls | RCS ID police
|
| 1.8 |
| 22-Nov-1996 |
lukem | don't need to explicitly NUL terminate strings written by snprintf()
|
| 1.7 |
| 21-Nov-1996 |
lukem | - add -h (show hostnames in short listing instead of office info), and -o (the reverse of this, also the default) - use vis(3) in vputc() instead of handcrufted function (from OpenBSD). - move gecos expansion into expandusername() (a la sendmail's buildfname). A generic version of this last bit in libutil would be useful... - cleanup the code, fix prototypes, etc.
|
| 1.6 |
| 27-Sep-1995 |
jtc | Update lseek() constants: L_SET -> SEEK_SET Add off_t cast to offset arg.
|
| 1.5 |
| 24-Dec-1994 |
cgd | pull in string.h or stdlib.h as necessary.
|
| 1.4 |
| 01-Apr-1994 |
cgd | bad cast
|
| 1.3 |
| 07-Oct-1993 |
brezak | Whilst hacking the Net/2 version of finger to work on Solaris 2.2 (we needed a finger on that platform which grokked the office/phone # GCOS info), I decided to put mail status in (as the solaris version has that).
The attached patch adds: - manual page typos fixed: finger doesn't scan .forward, contrary to what the man page says (and really shouldn't either, IMHO - that's what telnet host SMTP & VRFY are for :)
- added a mail check (printed between login info and the project). three different messages possible: - if you have no mail: No Mail. - if you have mail, but there's no unread mail: Mail last read DDD MMM ## HH:MM (TZ) - if you have new mail: New mail received DDD MMM ## HH:MM (TZ) Unread since DDD MMM ## HH:MM (TZ)
- fixed the manual page.
lm@yallara.cs.rmit.OZ.AU (Luke Mewburn)
|
| 1.2 |
| 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 |
| 01-Sep-1995 |
jtc | imported from 44lite2
|
| 1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.14.6.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
| 1.15.4.1 |
| 28-Jul-2000 |
itojun | pullup (approved by releng-1-5) printf-like format pedant. do not pass string variable alone. use "%s". from openbsd.
/cvsroot/basesrc/usr.bin/biff/biff.c 1.6 -> 1.7 /cvsroot/basesrc/usr.bin/chpass/chpass.c 1.18 -> 1.19 /cvsroot/basesrc/usr.bin/finger/net.c 1.13 -> 1.14 /cvsroot/basesrc/usr.bin/finger/util.c 1.15 -> 1.16 /cvsroot/basesrc/usr.bin/hexdump/display.c 1.8 -> 1.9 /cvsroot/basesrc/usr.bin/ktrace/ktrace.c 1.18 -> 1.19 /cvsroot/basesrc/usr.bin/mail/lex.c 1.14 -> 1.15 /cvsroot/basesrc/usr.bin/modstat/modstat.c 1.14 -> 1.15 /cvsroot/basesrc/usr.bin/tcopy/tcopy.c 1.9 -> 1.10 /cvsroot/basesrc/usr.bin/tn3270/ascii/map3270.c 1.7 -> 1.8 /cvsroot/basesrc/usr.bin/tn3270/tools/mkmake/mkmake.y 1.7 -> 1.8 /cvsroot/basesrc/usr.bin/vmstat/dkstats.c 1.8 -> 1.9
|
| 1.27.20.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.28.24.1 |
| 13-Mar-2016 |
martin | Pull up following revision(s) (requested by chs in ticket #1137): usr.bin/finger/util.c: revision 1.29 in find_idle_and_ttywrite(), initialize idletime and writable to 0 when stat() fails. this prevents a coredump later in stimeprint() due to gmtime() returning NULL for an uninitialized idletime.
|
| 1.29.18.1 |
| 07-May-2020 |
martin | Pull up following revision(s) (requested by kim in ticket #894):
usr.bin/finger/finger.1: revision 1.22 usr.bin/finger/util.c: revision 1.30
Add lastlogx support
|