resolver broken in NPTL build

Denys Vlasenko vda.linux at googlemail.com
Mon May 17 00:01:46 UTC 2010


On Sunday 16 May 2010 17:44, Timo Teräs wrote:
> >> -       __resolv_timeout = rp->retrans;
> >> -       __resolv_attempts = rp->retry;
> >> +       __resolv_timeout = rp->retrans ?: RES_TIMEOUT;
> >> +       __resolv_attempts = rp->retry ?: RES_DFLRETRY;
> >>         /* Extend and comment what program is known
> >>          * to use which _res.XXX member(s).
> > 
> > Comment why this is needed might be good.
> 
> Isn't the commit log description enough?

It isn't in the source, thus is invisible to the person reading the code.
-- 
vda


More information about the uClibc mailing list