Source-Changes archive

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

Re: CVS commit: basesrc



On Tue, 20 Jul 1999 18:50:09 -0700 
 Paul A Vixie <vixie%mibh.net@localhost> wrote:

 > 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?!

 > > ...unless it's only exposed to programs that link w/ libresolv.  bumping
 > > that one is okay, I think... but this issue must be examined very 
 > > carefully.
 > 
 > 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.

        -- Jason R. Thorpe <thorpej%nas.nasa.gov@localhost>




Home | Main Index | Thread Index | Old Index