Loic's patch is not so about the *number* of file descriptors
but about the *largest* file descriptor that can be used in
netcat.

The previous behaviour (FD_SETSIZE set to 16) only allows for
file descriptors numbered from 0 to 15. If netcat is forked from
a program which already use those, it will break because the
new FD it obtains are too high.

About the concern on too many opened file descriptors: this is
not a program's job to take care of this, other OS-provided mechanisms
such as "ulimit" already do.




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to