Source-Changes archive

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

Re: CVS commit: basesrc



> Um, should _res be exported to user programs?!  I think not.  That's a
> private structure internal to the resolver.

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.

> bumping libc's major is a ... hairy idea.

yes.

> ...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.




Home | Main Index | Thread Index | Old Index