summaryrefslogtreecommitdiffstats
path: root/usr.bin/finger
Commit message (Collapse)AuthorAgeFilesLines
* ANSIify function definitions.dwmalone2002-09-046-62/+37
| | | | | | | | | Add some constness to avoid some warnings. Remove use register keyword. Deal with missing/unneeded extern/prototypes. Some minor type changes/casts to avoid warnings. Reviewed by: md5
* add -4 and -6 option to be able to specify an address family.ume2002-07-223-4/+22
| | | | | Requested by: matusita MFC after: 1 week
* Add -g option, which restricts printing of the gecos fields to just the user'smini2002-07-025-5/+23
| | | | | | | | | real name. PR: bin/39462 Submitted by: Mike Makonnen <makonnen@pacbell.net> Obtained from: NetBSD MFC after: 1 week
* Clean up malloc(3)'s argument. Remove casts which do nothing when we'rejmallett2002-05-171-2/+2
| | | | | | | using sizeof() anyway. Use slightly more consistent (per-file) error reporting for malloc(3) returning NULL. If "malloc failed" was being printed, don't use err(3). If a NULL format is being used, use err(3). In one case errx(3) was being used with strerror(3), so just use err(3).
* Use `The .Nm utility'charnier2002-04-191-9/+10
|
* remove __Pimp2002-03-225-23/+23
|
* Unremoved used includes. <sys/time.h> is needed if <sys/stat.h> isn'tbde2002-02-251-0/+2
| | | | | polluted, and <sys/types.h> is strictly a prerequisite for <sys/stat.h> untiil we drop support for pre-2001 versions of POSIX.
* Remove leaf node WARNS?=2 (that mainly I added). This shouldmarkm2002-02-081-1/+0
| | | | help the GCC3 transition and CURRENT in general.
* GRR. Unbreak WARNS=2.peter2002-02-081-1/+1
| | | | | | | | | cc1: warnings being treated as errors usr.bin/finger/lprint.c: In function `lprint': usr.bin/finger/lprint.c:191: warning: precision is not type int (arg 2) *** Error code 1 Pointy hat to: markm
* Style improvements recommended by Bruce as a follow up to somedwmalone2001-12-105-25/+30
| | | | | | | | of the recent WARNS commits. The idea is: 1) FreeBSD id tags should follow vendor tags. 2) Vendor tags should not be compiled (though copyrights probably should). 3) There should be no blank line between including cdefs and __FBSDIF.
* WARNS=2 fix, remove 'register' and use __FBSDID().markm2001-12-027-72/+77
|
* Replace the condemned access(2) by stat(2),yar2001-08-081-1/+2
| | | | as per the discussion in -audit.
* Don't use ".nofinger" as a string constant from within the codeyar2001-07-302-1/+3
| | | | since there is the ``pathnames.h'' file; use _PATH_NOFINGER instead.
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).ru2001-07-061-1/+1
|
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+1
| | | | builtins (e.g., exit, strcmp).
* MAN[1-9] -> MAN.ru2001-03-271-2/+1
|
* Don't attempt to parse %cache2001-03-214-34/+56
|
* MAXPATHLEN is enough.imp2001-03-011-2/+1
| | | | | Also, snprinf is guaranteed by the new ansi standard to NUL terminate the string, so we don't need to do that ourselves.
* Spellingcharnier2001-02-066-50/+25
| | | | Remove unused #includes
* Check strdup() return valuesjedgar2001-01-201-4/+8
| | | | Reviewed by: kris
* .publickey -> .pubkey to match other finger daemons.des2001-01-043-4/+4
| | | | Suggested by: assar
* Add support for a .publickey file.des2000-12-293-4/+9
| | | | | Submitted by: Svein Skogen <tds@nsn.no> Reviewed by: brian, ru
* If the utmp login time is greater than the tty atime, use it to calculatebrian2000-12-211-1/+7
| | | | | | | | | the idle time instead of the atime. This makes entries for people that have logged in but done nothing else show up correctly. Reviewed by: markk@knigma.org
* Prepare for mdoc(7)NG.ru2000-12-191-2/+2
|
* Document what Idle=* means in a short format display.ru2000-12-121-0/+3
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-9/+9
|
* The -o is the default for "short" display, not the -h.ru2000-10-241-3/+4
|
* -Wall cleanup.ru2000-10-233-13/+10
| | | | PR: 22187
* Do not allow `finger -m /somefile' as well.ru2000-10-051-3/+3
|
* Don't allow finger /somefile, only allow filname expansions frombrian2000-10-021-0/+10
| | | | | | inside /etc/finger.conf PR: 21704
* Don't assume ai0->ai_canonname will always be filled in. Print thewollman2000-09-241-1/+6
| | | | | | user-supplied host name if we can't get a canonical name. Obtained from: contrib/tcp_wrappers/socket.c rev. 1.4 (in spirit)
* Implement IPv6 support. Also restructure the way multi-homed hostswollman2000-09-221-57/+91
| | | | are treated, regardless of protocol.
* Delete a bogus reference to T/TCP -- the problem still exists on Standardwollman2000-09-221-3/+1
| | | | TCP.
* Don't drop out when we've processed argc - 1 names.... argumentsbrian2000-09-121-7/+3
| | | | | | may expand to more than one user. PR: 21228
* Finger.conf first appeared in 4.2 (now that it's been MFCd)brian2000-08-251-1/+1
|
* Fix the -m option - broken by the last commit.brian2000-08-251-1/+1
| | | | Submitted by: Mark Knight <markk@knigma.org>
* Add a missing comma.sheldonh2000-08-251-1/+1
|
* Allow finger.conf to contain aliases for files that will be displayedbrian2000-08-256-21/+50
| | | | | | when fingered. Submitted by: Mark Knight <markk@knigma.org>
* Remove extraneous arguments to the Os (operating system) and Nmsheldonh2000-08-171-4/+4
| | | | | | | (name) macros. Do not terminate the cross-reference list in the SEE ALSO section with a period.
* Allow a /etc/finger.conf file that contains finger aliasesbrian2000-08-175-1/+162
| | | | | | | This allows people who's email address differs from their account name to be fingerable. Submitted by: Mark Knight <markk@knigma.org>
* Backout previous commit.asmodai2000-07-121-1/+1
| | | | (Mental note: don't forget -rRELENG_4 next time.)
* MFC: fix some output cosmetics so that the finger -s output is properlyasmodai2000-07-121-1/+1
| | | | lined up
* Fix finger -s output on an user who never logged in.asmodai2000-07-111-1/+1
| | | | | | | | This is purely a cosmetic patch. PR: 9809 Submitted by: se Nagged about: nrahlstr
* Don't call warn() with no format string.kris2000-07-101-1/+1
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* $Id$ -> $FreeBSD$peter1999-08-287-7/+7
|
* Use the final version of the patch for the overflow, not the next toimp1999-08-221-7/+9
| | | | | | final. Noticed by: eivind
* Fix possible buffer overflow with finger and fingerd.imp1999-08-211-16/+27
| | | | | | | Submitted by: Lukasz Luzar <lluzar@noname.kki.krakow.pl> and Eivind Eklund <eivind@yes.no> This patch is actually a combination of those two patches.
* Clean up some ambiguous nested if/elses.billf1999-07-041-2/+3
|
OpenPOWER on IntegriCloud