[uClibc]gethostbyname/alarm

Erik Andersen andersen at codepoet.org
Wed Apr 3 11:51:13 UTC 2002


On Mon Apr 01, 2002 at 08:34:47PM -0800, Jim Treadway wrote:
> 
> I ran into an unexpected use of alarm() in uClibc (well, actually in the 
> old "uC-libc" version used by the uClinux-coldfire stuff, but the same 
> thing is still present in the CVS for uClibc).
> 
> The following patch rewrites the dns_lookup() function to use select() 
> for timeouts rather than alarm(); it's against the older version because 
> that's all that I can easily test ;) but I think it should be fairly easy 
> to merge this into the CVS version.

Cool thanks, applied,

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list