File descriptor number disagreement
nick at sqrt.co.uk
Wed Jun 8 10:50:11 PDT 2005
Peter Naulls 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
Since file descriptors can be made arbitarily, it would probably be a
good idea i.e.
I wonder if there is any range checking to ensure that this fails:
More information about the gcc