Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 2009 08:31:03 -0800
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Hajimu UMEMOTO <ume@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r199655 - head/usr.bin/w
Message-ID:  <eaa228be0911250831v1b01e3b2ncbb99e0cb27a2c89@mail.gmail.com>
In-Reply-To: <ygebpiqd0x9.wl%ume@mahoroba.org>
References:  <200911221651.nAMGpiIO023873@svn.freebsd.org> <eaa228be0911241718i10795347hdd0f5735adee51e4@mail.gmail.com>  <ygebpiqd0x9.wl%ume@mahoroba.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 25, 2009 at 08:28, Hajimu UMEMOTO <ume@freebsd.org> wrote:
> The feature was present in the past, and was dropped by 1.48. =A0The
> 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. =A0It is useless
> to query for a truncated hostname. =A0How 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?eaa228be0911250831v1b01e3b2ncbb99e0cb27a2c89>