dwmalone
b4339b74ad
ANSIify function definitions.
...
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
2002-09-04 23:29:10 +00:00
mini
712f956e9e
Add -g option, which restricts printing of the gecos fields to just the user's
...
real name.
PR: bin/39462
Submitted by: Mike Makonnen <makonnen@pacbell.net>
Obtained from: NetBSD
MFC after: 1 week
2002-07-02 08:00:20 +00:00
imp
74d826c7a6
remove __P
2002-03-22 01:22:50 +00:00
bde
6449432456
Unremoved used includes. <sys/time.h> is needed if <sys/stat.h> isn't
...
polluted, and <sys/types.h> is strictly a prerequisite for <sys/stat.h>
untiil we drop support for pre-2001 versions of POSIX.
2002-02-25 05:09:12 +00:00
peter
2a6db49cc9
GRR. Unbreak WARNS=2.
...
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
2002-02-08 07:52:51 +00:00
dwmalone
d9613ea383
Style improvements recommended by Bruce as a follow up to some
...
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.
2001-12-10 21:13:08 +00:00
markm
f8ba6799fd
WARNS=2 fix, remove 'register' and use __FBSDID().
2001-12-02 20:13:42 +00:00
ache
ba9451ee82
Don't attempt to parse %c
2001-03-21 18:43:49 +00:00
charnier
3699f60e15
Spelling
...
Remove unused #includes
2001-02-06 20:13:48 +00:00
des
a2912f74e1
.publickey -> .pubkey to match other finger daemons.
...
Suggested by: assar
2001-01-04 10:03:44 +00:00
des
7880bf45e4
Add support for a .publickey file.
...
Submitted by: Svein Skogen <tds@nsn.no>
Reviewed by: brian, ru
2000-12-29 11:39:25 +00:00
ru
7885ad0000
-Wall cleanup.
...
PR: 22187
2000-10-23 12:18:34 +00:00
brian
4dcf00026a
Allow finger.conf to contain aliases for files that will be displayed
...
when fingered.
Submitted by: Mark Knight <markk@knigma.org>
2000-08-25 01:01:07 +00:00
peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
ache
2d5e5a91b3
fix 8bit clean issue
...
PR: 7519
1998-08-07 16:21:09 +00:00
charnier
4f0a8d27ea
Add rcsid, usage(). Silent -Wall. Use warn(3).
1997-07-02 06:34:51 +00:00
ache
e528107672
Skip \r character while printing Plan/etc. text files, it allows to
...
handle \r\n and \n\r files properly.
Previous variant put ^M for \r\n and ^M\n for \n\r
1997-03-17 17:07:39 +00:00
peter
deba7db48c
Merge from Lite2
1997-03-11 13:43:33 +00:00
ache
0e7b1c312a
Allow national printable chars in .plan
1995-08-08 00:45:21 +00:00
ache
6185a84ff1
Replace asctime/ctime by strftime %c to use national representation
1995-08-08 00:38:33 +00:00
wollman
fc1f6c1d76
Delete bogus referneces to timezone code internal header file `tzfile.h',
...
which is no longer bogusly installed in /usr/include.
1995-08-07 19:17:46 +00:00
pst
72c244e553
Install Luke's enhancements for finger.
...
By default, behave like the old ugly 4.4bsd finger and print office
information instead of remote login information.
It's an easy one line fix to make it behave like most other vendor's
fingers if we decide to change the default.
Reviewed by: pst
1994-09-07 07:22:41 +00:00
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00