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
yar
cf93cda491
Replace the condemned access(2) by stat(2),
...
as per the discussion in -audit.
2001-08-08 21:22:48 +00:00
yar
d4e647fdae
Don't use ".nofinger" as a string constant from within the code
...
since there is the ``pathnames.h'' file; use _PATH_NOFINGER instead.
2001-07-30 16:50:47 +00:00
imp
83cfdca42c
MAXPATHLEN is enough.
...
Also, snprinf is guaranteed by the new ansi standard to NUL terminate the
string, so we don't need to do that ourselves.
2001-03-01 05:52:38 +00:00
charnier
3699f60e15
Spelling
...
Remove unused #includes
2001-02-06 20:13:48 +00:00
jedgar
73ff8fb47f
Check strdup() return values
...
Reviewed by: kris
2001-01-20 00:26:32 +00:00
brian
b92a08961b
If the utmp login time is greater than the tty atime, use it to calculate
...
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
2000-12-21 01:30:47 +00:00
kris
90a7a5a6ae
Don't call warn() with no format string.
2000-07-10 08:49:28 +00:00
peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
imp
b78c77d7be
Use the final version of the patch for the overflow, not the next to
...
final.
Noticed by: eivind
1999-08-22 17:24:25 +00:00
imp
a978a32098
Fix possible buffer overflow with finger and fingerd.
...
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.
1999-08-21 18:25:38 +00:00
charnier
4f0a8d27ea
Add rcsid, usage(). Silent -Wall. Use warn(3).
1997-07-02 06:34:51 +00:00
peter
deba7db48c
Merge from Lite2
1997-03-11 13:43:33 +00:00
jkh
9bea03d7a2
Add Sean Eric Fagan's support for a ~/.nofinger file for user who prefer
...
their privacy.
Submitted by: sef
1995-01-04 01:02:43 +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