Bug#457174: FD_SETSIZE

2008-10-13 Thread Decklin Foster
Excerpts from Samuel Tardieu's message of Mon Oct 13 18:13:08 -0400 2008: > Agreed, it should be eliminated and the system default should be > kept. Anyway, I withdraw my request, we switched to "socat" today after > I had a look at the "netcat" code, and it fits its job perfectly, so we > won't b

Bug#457174: FD_SETSIZE

2008-10-13 Thread Samuel Tardieu
* Decklin Foster <[EMAIL PROTECTED]> [2008-10-13 17:46:59 -0400] | Excerpts from Samuel Tardieu's message of Mon Oct 13 04:29:55 -0400 2008: | | > Loic's patch is not so about the *number* of file descriptors | > but about the *largest* file descriptor that can be used in | > netcat. | | Yes, I

Bug#457174: FD_SETSIZE

2008-10-13 Thread Decklin Foster
Excerpts from Samuel Tardieu's message of Mon Oct 13 04:29:55 -0400 2008: > Loic's patch is not so about the *number* of file descriptors > but about the *largest* file descriptor that can be used in > netcat. Yes, I know how select(2) works; since its usage was fixed in the other patch, I don't

Bug#457174: FD_SETSIZE

2008-10-13 Thread Samuel Tardieu
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 wil