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