| History log of /src/usr.bin/finger |
| Revision | Date | Author | Comments |
| 1.11 | 28-May-2007 |
tls | Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to various string and memory copy and set functions (as well as a few system calls and other miscellany) where known at function entry. RedHat has evidently built all "core system packages" with this option for some time.
This option should be used at the top of Makefiles (or Makefile.inc where this is used for subdirectories) but after any setting of LIB.
This is only useful for userland code, and cannot be used in libc or in any code which includes the libc internals, because it overrides certain libc functions with macros. Some effort has been made to make USE_FORT=yes work correctly for a full-system build by having the bsd.sys.mk logic disable the feature where it should not be used (libc, libssp iteself, the kernel) but no attempt has been made to build the entire system with USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.
Adjust the system build so that all programs and libraries that are setuid, directly handle network data (including serial comm data), perform authentication, or appear likely to have (or have a history of having) data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default, with the exception of libc, which cannot use USE_FORT and thus uses only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no per-directory or in a system build will disable if desired.
|
| 1.10 | 10-Jan-2005 |
lukem | Only compile in IPv6 support if ${USE_INET6} != "no"
MKINET6 is for providing IPv6 infrastructure. USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
|
| 1.9 | 18-Sep-2002 |
lukem | makefile delint. use NETBSDSRCDIR as appropriate
|
| 1.8 | 05-Aug-2002 |
tron | Undo accidental change.
|
| 1.7 | 05-Aug-2002 |
tron | Avoid segmentation fault if "finger @somehost" is used.
|
| 1.6 | 02-Aug-2002 |
christos | support utmpx; no lastlogx support yet.
|
| 1.5 | 02-Jul-1999 |
itojun | dual-stack finger. % finger itojun@::1 % finger itojun@127.0.0.1 % finger itojun@localhost tries all addresses listed on DNS, uses first one with successful connect(2).
|
| 1.4 | 19-Oct-1997 |
mrg | merge lite-2. WARNSify. clean up .Nm.
|
| 1.3 | 09-Jan-1997 |
tls | RCS ID police
|
| 1.2 | 31-Jul-1993 |
mycroft | Add RCS indentifiers.
|
| 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.10 | 04-Jan-2006 |
perry | de-__P, ANSIfy prototypes, and kill register
|
| 1.9 | 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.8 | 12-Sep-2002 |
kim | Implement 8-bit pass-through.
|
| 1.7 | 02-Aug-2002 |
christos | support utmpx; no lastlogx support yet.
|
| 1.6 | 26-Jul-1998 |
mycroft | const poisoning.
|
| 1.5 | 09-Jan-1998 |
perry | RCS Id Police.
|
| 1.4 | 19-Oct-1997 |
mrg | merge lite-2. WARNSify. clean up .Nm.
|
| 1.3 | 09-Sep-1997 |
mrg | add -g flag: do not show non real name gecos info.
|
| 1.2 | 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.1 | 01-Sep-1995 |
jtc | branches: 1.1.1; Initial revision
|
| 1.1.1.1 | 01-Sep-1995 |
jtc | imported from 44lite2
|
| 1.22 | 07-May-2020 |
kim | Add lastlogx support
|
| 1.21 | 30-Jan-2020 |
sevan | finish with a full stop
|
| 1.20 | 30-Jan-2020 |
sevan | Drop url which is now invalid, see CSRG archive or mirrors on TUHS.org or svnweb.FreeBSD.org
|
| 1.19 | 22-Dec-2016 |
abhinav | branches: 1.19.14; 1.19.16; Instead of saying "The finger displays information..." say "The finger utility" (not sure if it was intentionally written like that :)
Also, add an xref to fingerd(8)
|
| 1.18 | 26-Dec-2014 |
christos | branches: 1.18.2; And correct it.
|
| 1.17 | 26-Dec-2014 |
christos | Correct the provenance of finger.1 and show the link that it was part of 2BSD (from Marcin F. Michalski)
|
| 1.16 | 10-Jun-2012 |
dholland | Fix description of -o option. Noted by Snader_LB on freenode.
|
| 1.15 | 07-Aug-2003 |
agc | branches: 1.15.56; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
|
| 1.14 | 30-Sep-2002 |
grant | New sentence, new line.
|
| 1.13 | 12-Sep-2002 |
wiz | Sort options. Bump date for -8 addition.
|
| 1.12 | 12-Sep-2002 |
kim | Implement 8-bit pass-through.
|
| 1.11 | 22-Mar-1999 |
garbled | More and more .Os cleanups. .Os is defined in the tmac.doc-common file, so we shouldn't override it with versions in the manpages. Many more to come.
|
| 1.10 | 18-Sep-1998 |
frueauf | Remove duplicate paragraph, mention .forward file, fixes pr 6177 by Andreas Wrede.
|
| 1.9 | 19-Oct-1997 |
mrg | merge lite-2. WARNSify. clean up .Nm.
|
| 1.8 | 09-Sep-1997 |
mrg | add -g flag: do not show non real name gecos info.
|
| 1.7 | 09-Jan-1997 |
tls | RCS ID police
|
| 1.6 | 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.5 | 25-Jul-1995 |
jtc | Fix typo, noted by Masanobu Saitoh in PR #1272
|
| 1.4 | 14-Feb-1994 |
cgd | after -> before
|
| 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 indentifiers.
|
| 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.15.56.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.18.2.1 | 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
| 1.19.16.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
|
| 1.19.14.1 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.31 | 30-Oct-2021 |
nia | finger(1): convert malloc(x * y) to reallocarr
|
| 1.30 | 05-Sep-2016 |
sevan | Drop main() prototype.
|
| 1.29 | 12-Apr-2009 |
lukem | Fix WARNS=4 issues (-Wshadow, -Wcast-qual, -Wsign-compare)
|
| 1.28 | 21-Jul-2008 |
lukem | branches: 1.28.6; Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
| 1.27 | 11-May-2006 |
mrg | branches: 1.27.22; no need to cast setlocale()'s return value.
|
| 1.26 | 28-Apr-2006 |
christos | Coverity CID 1780, 1779: Fix memory leak.
|
| 1.25 | 04-Jan-2006 |
perry | de-__P, ANSIfy prototypes, and kill register
|
| 1.24 | 03-Jun-2004 |
kleink | Remove a trailing blank line; from Jeff Ito in PR bin/25797.
|
| 1.23 | 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.22 | 26-Jul-2003 |
salo | netbsd.org->NetBSD.org
|
| 1.21 | 12-Sep-2002 |
kim | Implement 8-bit pass-through.
|
| 1.20 | 10-Sep-2002 |
kim | Add back locale support for data display.
We only enable 8-bit output for known single-byte locales, currently ISO8859-*. For all other locales the program output is unchanged.
RFC-1288 recommends that administrators have a mechanism to enable characters greater than ASCII 126. A suggested solution is an environment variable. The environment variables of choice here are LC_CTYPE and LANG.
Thanks to Martin Husemann <martin@duskware.de> for the idea on checking for known single-byte locales, to Johan Danielsson <joda@pdc.kth.se> for checking RFC-1288, and to Jun-ichiro itojun Hagino <itojun@iijlab.net> for insisting on retaining security for multi-byte locales.
If you experience any problems with these changes, please send me email describing the problem and how to repeat it. I'd rather try to fix the problem than have this change reverted. Thanks!
|
| 1.19 | 20-Aug-2002 |
itojun | revert attempt to make finger locale-dependent. (1) locale dependent daemon is a bad idea, (2) there's no standard in 8bit finger, (3) there's no guarantee that finger/fingerd uses the same locale, (4) existing finger client could scream. see tech-userlevel.
|
| 1.18 | 10-Aug-2002 |
kim | Obey the locale settings of the user when deciding what characters are valid for output. If something bad gets printed, either the locale settings for the user (or output terminal) are wrong, or the LC_CTYPE definitions on the system are invalid.
|
| 1.17 | 05-Aug-2002 |
tron | Avoid segmentation fault if "finger @somehost" is used.
|
| 1.16 | 02-Aug-2002 |
christos | support utmpx; no lastlogx support yet.
|
| 1.15 | 02-May-2002 |
wiz | Note -g in usage. bin/16592 by Ryan Younce.
|
| 1.14 | 09-Nov-1999 |
drochner | 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.13 | 19-Dec-1998 |
christos | branches: 1.13.6; index -> strchr
|
| 1.12 | 25-Aug-1998 |
ross | Add { and } to shut up egcs. Reformat the more questionable code.
|
| 1.11 | 10-Aug-1998 |
perry | bzero->memset, bcopy->memcpy, bcmp->memcmp
|
| 1.10 | 19-Oct-1997 |
mrg | merge lite-2. WARNSify. clean up .Nm.
|
| 1.9 | 18-Oct-1997 |
lukem | getopt returns -1 not EOF
|
| 1.8 | 09-Sep-1997 |
mrg | add -g flag: do not show non real name gecos info.
|
| 1.7 | 17-May-1997 |
pk | NULL => 0 (Arne Juul; PR#3629)
|
| 1.6 | 09-Jan-1997 |
tls | RCS ID police
|
| 1.5 | 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.4 | 24-Dec-1994 |
cgd | pull in string.h or stdlib.h as necessary.
|
| 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.13.6.1 | 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
| 1.27.22.1 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.28.6.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.10 | 05-May-2007 |
christos | PR/36278: David A. Holland: hard-coded paths in finger
|
| 1.9 | 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.8 | 02-Aug-2002 |
christos | support utmpx; no lastlogx support yet.
|
| 1.7 | 05-Feb-2001 |
christos | don't include extern.h here; every other file includes it.
|
| 1.6 | 19-Oct-1997 |
mrg | merge lite-2. WARNSify. clean up .Nm.
|
| 1.5 | 09-Jan-1997 |
tls | RCS ID police
|
| 1.4 | 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.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.23 | 18-Jan-2013 |
christos | - Don't dump core or print random junk on corrupt utmp entries. - Factor out duplicated code in the process. - The actual code is now smaller and does error checking, and encoding.
|
| 1.22 | 12-Apr-2009 |
lukem | branches: 1.22.6; 1.22.8; 1.22.12; Fix WARNS=4 issues (-Wshadow, -Wcast-qual, -Wsign-compare)
|
| 1.21 | 04-Jan-2006 |
perry | branches: 1.21.30; de-__P, ANSIfy prototypes, and kill register
|
| 1.20 | 03-Jun-2004 |
kleink | Remove duplicate header inclusions; from Jeff Ito in PR bin/25797.
|
| 1.19 | 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.18 | 12-Sep-2002 |
kim | Implement 8-bit pass-through.
|
| 1.17 | 10-Sep-2002 |
kim | Add back locale support for data display.
We only enable 8-bit output for known single-byte locales, currently ISO8859-*. For all other locales the program output is unchanged.
RFC-1288 recommends that administrators have a mechanism to enable characters greater than ASCII 126. A suggested solution is an environment variable. The environment variables of choice here are LC_CTYPE and LANG.
Thanks to Martin Husemann <martin@duskware.de> for the idea on checking for known single-byte locales, to Johan Danielsson <joda@pdc.kth.se> for checking RFC-1288, and to Jun-ichiro itojun Hagino <itojun@iijlab.net> for insisting on retaining security for multi-byte locales.
If you experience any problems with these changes, please send me email describing the problem and how to repeat it. I'd rather try to fix the problem than have this change reverted. Thanks!
|
| 1.16 | 20-Aug-2002 |
itojun | revert attempt to make finger locale-dependent. (1) locale dependent daemon is a bad idea, (2) there's no standard in 8bit finger, (3) there's no guarantee that finger/fingerd uses the same locale, (4) existing finger client could scream. see tech-userlevel.
|
| 1.15 | 11-Aug-2002 |
kim | Obey the locale settings of the user when deciding what characters are valid for output. If something bad gets printed, either the locale settings for the user (or output terminal) are wrong, or the LC_CTYPE definitions on the system are invalid.
|
| 1.14 | 05-Aug-2002 |
tron | Avoid segmentation fault if "finger @somehost" is used.
|
| 1.13 | 02-Aug-2002 |
christos | support utmpx; no lastlogx support yet.
|
| 1.12 | 19-Dec-1998 |
christos | SVR4 timezone portability
|
| 1.11 | 26-Jul-1998 |
mycroft | const poisoning.
|
| 1.10 | 19-Oct-1997 |
mrg | fix compile warnings on the alpha.
|
| 1.9 | 19-Oct-1997 |
mrg | merge lite-2. WARNSify. clean up .Nm.
|
| 1.8 | 09-Sep-1997 |
mrg | add -g flag: do not show non real name gecos info.
|
| 1.7 | 09-Jan-1997 |
tls | RCS ID police
|
| 1.6 | 22-Nov-1996 |
lukem | don't need to explicitly NUL terminate strings written by snprintf()
|
| 1.5 | 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.4 | 24-Dec-1994 |
cgd | pull in string.h or stdlib.h as necessary.
|
| 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.21.30.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.22.12.1 | 25-Feb-2013 |
tls | resync with head
|
| 1.22.8.1 | 13-Feb-2015 |
snj | Pull up following revision(s) (requested by martin in ticket #1247): usr.bin/finger/lprint.c: revision 1.23 - Don't dump core or print random junk on corrupt utmp entries. - Factor out duplicated code in the process. - The actual code is now smaller and does error checking, and encoding.
|
| 1.22.6.1 | 23-Jan-2013 |
yamt | sync with head
|
| 1.23 | 12-Apr-2009 |
lukem | Fix WARNS=4 issues (-Wshadow, -Wcast-qual, -Wsign-compare)
|
| 1.22 | 04-Jan-2006 |
perry | branches: 1.22.30; de-__P, ANSIfy prototypes, and kill register
|
| 1.21 | 03-Jun-2004 |
kleink | Remove duplicate header inclusions; from Jeff Ito in PR bin/25797.
|
| 1.20 | 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.19 | 12-Sep-2002 |
kim | Implement 8-bit pass-through.
|
| 1.18 | 10-Sep-2002 |
kim | Add back locale support for data display.
We only enable 8-bit output for known single-byte locales, currently ISO8859-*. For all other locales the program output is unchanged.
RFC-1288 recommends that administrators have a mechanism to enable characters greater than ASCII 126. A suggested solution is an environment variable. The environment variables of choice here are LC_CTYPE and LANG.
Thanks to Martin Husemann <martin@duskware.de> for the idea on checking for known single-byte locales, to Johan Danielsson <joda@pdc.kth.se> for checking RFC-1288, and to Jun-ichiro itojun Hagino <itojun@iijlab.net> for insisting on retaining security for multi-byte locales.
If you experience any problems with these changes, please send me email describing the problem and how to repeat it. I'd rather try to fix the problem than have this change reverted. Thanks!
|
| 1.17 | 20-Aug-2002 |
itojun | revert attempt to make finger locale-dependent. (1) locale dependent daemon is a bad idea, (2) there's no standard in 8bit finger, (3) there's no guarantee that finger/fingerd uses the same locale, (4) existing finger client could scream. see tech-userlevel.
|
| 1.16 | 10-Aug-2002 |
kim | Obey the locale settings of the user when deciding what characters are valid for output. If something bad gets printed, either the locale settings for the user (or output terminal) are wrong, or the LC_CTYPE definitions on the system are invalid.
|
| 1.15 | 02-Aug-2002 |
christos | support utmpx; no lastlogx support yet.
|
| 1.14 | 07-Jul-2000 |
itojun | errx?/warnx? audit. do not pass variable alone, use %s. idea from openbsd
|
| 1.13 | 02-Jul-1999 |
itojun | branches: 1.13.8; dual-stack finger. % finger itojun@::1 % finger itojun@127.0.0.1 % finger itojun@localhost tries all addresses listed on DNS, uses first one with successful connect(2).
|
| 1.12 | 10-Aug-1998 |
perry | bzero->memset, bcopy->memcpy, bcmp->memcmp
|
| 1.11 | 24-Nov-1997 |
lukem | remove extraneous newline in remote finger output. (found by chuck cranor)
|
| 1.10 | 19-Oct-1997 |
mrg | merge lite-2. WARNSify. clean up .Nm.
|
| 1.9 | 17-May-1997 |
pk | NULL => 0 (Arne Juul; PR#3629)
|
| 1.8 | 09-Jan-1997 |
tls | RCS ID police
|
| 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 | 21-May-1995 |
mycroft | Fix oversight in previous.
|
| 1.5 | 21-May-1995 |
mycroft | Use inet_aton(), not inet_addr().
|
| 1.4 | 24-Dec-1994 |
cgd | pull in string.h or stdlib.h as necessary.
|
| 1.3 | 14-Jan-1994 |
mycroft | Ignore multiple \r's.
|
| 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.13.8.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.22.30.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.18 | 21-Nov-2015 |
christos | fix format
|
| 1.17 | 04-Jan-2006 |
perry | de-__P, ANSIfy prototypes, and kill register
|
| 1.16 | 16-Nov-2004 |
christos | Print the full pty name; reported by atatat
|
| 1.15 | 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.14 | 06-Jan-2003 |
wiz | writable, not writeable.
|
| 1.13 | 20-Aug-2002 |
christos | don't limit username printing to UT_NAMESIZE
|
| 1.12 | 05-Aug-2002 |
tron | Avoid segmentation fault if "finger @somehost" is used.
|
| 1.11 | 02-Aug-2002 |
christos | support utmpx; no lastlogx support yet.
|
| 1.10 | 19-Dec-1998 |
christos | gcc-2.8.1 printf format and brace warnings.
|
| 1.9 | 09-Sep-1998 |
tron | Print login time left justified as suggested by Wolfgang Helbig in PR bin/6131.
|
| 1.8 | 19-Oct-1997 |
mrg | merge lite-2. WARNSify. clean up .Nm.
|
| 1.7 | 09-Sep-1997 |
mrg | add -g flag: do not show non real name gecos info.
|
| 1.6 | 28-Mar-1997 |
mycroft | Minor formatting changes to make the output less ugly.
|
| 1.5 | 09-Jan-1997 |
tls | RCS ID police
|
| 1.4 | 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.3 | 26-Oct-1993 |
mycroft | Print `-' rather than ` ' for 0 idle time.
|
| 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.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
|