[uClibc]reread resolv.conf
Erik Andersen
andersen at codepoet.org
Fri Feb 28 05:34:35 UTC 2003
On Thu Feb 27, 2003 at 01:54:10PM -0800, Jeffrey Damick wrote:
>
> Hello all, I have a quick question, and it may be a small bug in
> uClibc's name resolver code..
You also have a problem with your email program. You are
sending your email as html. Don't do that.
> I'm having a problem resetting the nameservers that gethostbyname is
> using from resolv.conf. With glibc if you do a res_init() that forces
> a reread of the file, but in uClibc the res_init will not force a
> reread if it has read the file 1 time because then the nameservers
> value is greater than 0.<br>
> <br>
> Shouldn't res_init call close_nameservers() before calling
> open_nameservers() ?<br>
> Or is there another way I can accomplish this with code that will work
> with both uClibc and glibc?<br>
Try it and see. Does making that change cause uClibc to do
what you expected it to do?
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the uClibc
mailing list