Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: basesrc



>  > that's what i thought, too, but anyone who wants to change the behaviour
>  > of gethostbyname() (number of timeouts, retries, etc) has to do it by
>  > tickling that structure.  bind9 does it differently.  hell, bind8 can do
>  > it differently.  but netbsd is stuck at bind4 library level, and the api
>  > back then was to expose that struct.
> 
> Um, ick.  Can't that all be hidden by a funtional API?!

yes.  in bind9, it is.  at present i don't expect netbsd to adopt bind9's api
(based on its nonadoption of bind8's api.)

>  > isn't netbsd's libresolv just a shill?  4.4bsd moved all of libresolv into
>  > libc.
> 
> libresolv is the following files:
> 
>       gethnamaddr.c res_mkquery.c res_query.c res_send.c
> 
> ...built w/ -DDEBUG.  Any program that links against libresolv will
> use the DEBUG versions instead, not the libc versions.
> 
> It's entirely possible that only programs that link against libresolv
> tickle _res.

i doubt that.  sendmail, for example.




Home | Main Index | Thread Index | Old Index