| History log of /src/usr.bin/finger/finger.c |
| Revision | | Date | Author | Comments |
| 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
|