File descriptor number disagreement
alex at alexwaugh.com
Wed Jun 8 11:54:03 PDT 2005
In message <21d4dc774d.peter at chocky.org>
Peter Naulls <peter at chocky.org> wrote:
> FD_BITS in UnixLib is 256, yet SUL only allocates room for 54 file
> descriptors. This causes potential badness in select(), although
> possibly nowhere else.
> The obvious fix it to make a new SUL verision which allocates more. Any
The size of the __proc->file_descriptors array can in theory be
increased dynamically by UnixLib when the program runs out of file
descriptors, and existing code and SUL should cope. I don't know if
that helps with the select problem though.
Alex Waugh alex at alexwaugh.com
PHP, Roots, Subversion, WebJames and more from http://www.alexwaugh.com/
More information about the gcc