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

Re: [MiNT] gethostbyname() fails on the FireBee



On sø., 2014-08-31 at 10:11 +0200, Vincent Rivière wrote:

> In the MiNTLib, I tracked gethostbyname() down to the res_send() function:
> http://sparemint.atariforge.net/cgi-bin/cvsweb/mintlib/socket/res_send.c?rev=1.6&content-type=text/x-cvsweb-markup
> 
> At line 340, the function waits for a reply using select().
> I believe something is wrong there, so the function timeouts immediately and 
> jumps to next try.


Could it be related to this change?

Jo Even

-----------------------8<---------------

2013-12-24 Tuesday 12:53  Alan Hourihane <alanh@fairlite.co.uk>

	* include/bits/types.h:

	Allow the use of 1024 file handles with select.
	
	Fortunately select() already falls back to Fpoll, and that now
understands 1024 file handles.
	
	Also, luckily the stones were laid correctly that things are checked
for kernels that only
	support 32, so this should be all that's required to get us to 1024
now.