svn commit: r199655 - head/usr.bin/w

Juli Mallett jmallett at FreeBSD.org
Wed Nov 25 16:31:24 UTC 2009


On Wed, Nov 25, 2009 at 08:28, Hajimu UMEMOTO <ume at freebsd.org> wrote:
> The feature was present in the past, and was dropped by 1.48.  The
> reason is that we have no idea what address family they belong to.
> So, I reintroduce it for just one A/AAAA RR case.
>
> http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/w/w.c#rev1.48
>
> However, a hostname in utmp is truncated in many cases.  It is useless
> to query for a truncated hostname.  How about this patch?

This catches hostnames that have been truncated but ignores hostnames
that would have been truncated if they were still one letter longer.
In any event, it generates traffic if '-n' is specified and tries to
use the resolver, which is undesirable to at least me and DES.


More information about the svn-src-head mailing list