Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed the misplaced $FreeBSD$. | ru | 2005-02-09 | 1 | -22/+22 |
| | |||||
* | Sort sections. | ru | 2005-01-18 | 1 | -6/+6 |
| | |||||
* | Document incorrect handling of multibyte characters. | tjr | 2004-07-17 | 1 | -1/+5 |
| | |||||
* | Mechanically kill hard sentence breaks. | ru | 2004-07-02 | 1 | -3/+6 |
| | |||||
* | Remove spurious semicolons. Outside of functions they are actually errors but | stefanf | 2004-05-16 | 1 | -1/+1 |
| | | | | | | | | GCC doesn't warn about them without -pedantic. Approved by: das (mentor) PR: 56649 Reviewed by: md5 | ||||
* | Add multiple inclusion guards. Mostly this is for extern.h, which was | jmallett | 2004-03-14 | 3 | -1/+10 |
| | | | | | | | included twice by lprint.c, which included both finger.h and extern.h. finger.h, in turn, includes extern.h. The redundant include of extern.h was removed from lprint.c, as part of this change, but the include guards were added anyway out of spite. | ||||
* | Fixed a misspelling of 0 as NULL. | bde | 2004-03-14 | 1 | -1/+1 |
| | |||||
* | Add code to keep going if you're really intent on fingering someone, but | jmallett | 2003-06-28 | 2 | -4/+16 |
| | | | | can't use utmp(5). | ||||
* | If stat() on the terminal specified in utmp fails due to ENOENT, don't | rwatson | 2003-04-02 | 3 | -2/+21 |
| | | | | | | | | | print a warning, and set the idletime variable for the entry to -1; then pick up the -1 later in sprint() and lprint() and ignore those idle times by printing just whitespace. When third party applications, such as kdm, insert utmp entries, they sometimes use strings like ":0", which can't be stat()'d and currently result in warnings that are not helpful to the user. | ||||
* | mdoc(7) police: Deal with self-xrefs. | ru | 2002-12-24 | 1 | -1/+1 |
| | |||||
* | Make a CR/LF sequence measure up to its name: the order of the CR and LF | roam | 2002-12-02 | 1 | -1/+1 |
| | | | | | | | | | | | characters was reversed, resulting in some network appliances, including at least some NAS devices from Ascend, not recognizing our finger(1) request. PR: 45914 Submitted by: J R Matthews <jrm@delta-e.com.au> Approved by: re (rwatson) MFC after: 2 weeks | ||||
* | mdoc(7) police: bump document date, use the canonical option list width, | ru | 2002-11-26 | 1 | -17/+11 |
| | | | | | | removed a bunch of extraneous .Pp and .Dq calls. Approved by: re | ||||
* | Back out previous commit - it was not well thought out. | sobomax | 2002-10-31 | 1 | -1/+1 |
| | | | | | Clue beaten in by: ume Pointy hat to: sobomax | ||||
* | Fix POLA breakage in 1.29: IPv4 should be default. This makes `-4' option | sobomax | 2002-10-31 | 1 | -1/+1 |
| | | | | | | | | a nop, but we'll probably want to keep it for compatibility with other KAME-based systems. Complained about by: Andrey Lakhno <land@dnepr.net> MFC after: 3 days | ||||
* | ANSIify function definitions. | dwmalone | 2002-09-04 | 6 | -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. | ume | 2002-07-22 | 3 | -4/+22 |
| | | | | | Requested by: matusita MFC after: 1 week | ||||
* | Add -g option, which restricts printing of the gecos fields to just the user's | mini | 2002-07-02 | 5 | -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're | jmallett | 2002-05-17 | 1 | -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' | charnier | 2002-04-19 | 1 | -9/+10 |
| | |||||
* | remove __P | imp | 2002-03-22 | 5 | -23/+23 |
| | |||||
* | Unremoved used includes. <sys/time.h> is needed if <sys/stat.h> isn't | bde | 2002-02-25 | 1 | -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 should | markm | 2002-02-08 | 1 | -1/+0 |
| | | | | help the GCC3 transition and CURRENT in general. | ||||
* | GRR. Unbreak WARNS=2. | peter | 2002-02-08 | 1 | -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 some | dwmalone | 2001-12-10 | 5 | -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(). | markm | 2001-12-02 | 7 | -72/+77 |
| | |||||
* | Replace the condemned access(2) by stat(2), | yar | 2001-08-08 | 1 | -1/+2 |
| | | | | as per the discussion in -audit. | ||||
* | Don't use ".nofinger" as a string constant from within the code | yar | 2001-07-30 | 2 | -1/+3 |
| | | | | since there is the ``pathnames.h'' file; use _PATH_NOFINGER instead. | ||||
* | mdoc(7) police: removed HISTORY info from the .Os call. | ru | 2001-07-10 | 1 | -1/+1 |
| | |||||
* | mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2). | ru | 2001-07-06 | 1 | -1/+1 |
| | |||||
* | Include missing header files which define functions for which gcc has | dd | 2001-06-24 | 1 | -0/+1 |
| | | | | builtins (e.g., exit, strcmp). | ||||
* | MAN[1-9] -> MAN. | ru | 2001-03-27 | 1 | -2/+1 |
| | |||||
* | Don't attempt to parse %c | ache | 2001-03-21 | 4 | -34/+56 |
| | |||||
* | MAXPATHLEN is enough. | imp | 2001-03-01 | 1 | -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. | ||||
* | Spelling | charnier | 2001-02-06 | 6 | -50/+25 |
| | | | | Remove unused #includes | ||||
* | Check strdup() return values | jedgar | 2001-01-20 | 1 | -4/+8 |
| | | | | Reviewed by: kris | ||||
* | .publickey -> .pubkey to match other finger daemons. | des | 2001-01-04 | 3 | -4/+4 |
| | | | | Suggested by: assar | ||||
* | Add support for a .publickey file. | des | 2000-12-29 | 3 | -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 calculate | brian | 2000-12-21 | 1 | -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. | ru | 2000-12-19 | 1 | -2/+2 |
| | |||||
* | Document what Idle=* means in a short format display. | ru | 2000-12-12 | 1 | -0/+3 |
| | |||||
* | mdoc(7) police: use the new features of the Nm macro. | ru | 2000-11-20 | 1 | -9/+9 |
| | |||||
* | The -o is the default for "short" display, not the -h. | ru | 2000-10-24 | 1 | -3/+4 |
| | |||||
* | -Wall cleanup. | ru | 2000-10-23 | 3 | -13/+10 |
| | | | | PR: 22187 | ||||
* | Do not allow `finger -m /somefile' as well. | ru | 2000-10-05 | 1 | -3/+3 |
| | |||||
* | Don't allow finger /somefile, only allow filname expansions from | brian | 2000-10-02 | 1 | -0/+10 |
| | | | | | | inside /etc/finger.conf PR: 21704 | ||||
* | Don't assume ai0->ai_canonname will always be filled in. Print the | wollman | 2000-09-24 | 1 | -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 hosts | wollman | 2000-09-22 | 1 | -57/+91 |
| | | | | are treated, regardless of protocol. | ||||
* | Delete a bogus reference to T/TCP -- the problem still exists on Standard | wollman | 2000-09-22 | 1 | -3/+1 |
| | | | | TCP. | ||||
* | Don't drop out when we've processed argc - 1 names.... arguments | brian | 2000-09-12 | 1 | -7/+3 |
| | | | | | | may expand to more than one user. PR: 21228 | ||||
* | Finger.conf first appeared in 4.2 (now that it's been MFCd) | brian | 2000-08-25 | 1 | -1/+1 |
| |