On Thu, Mar 04, 2004, Henrik Nordstrom wrote: > > > Ok. I must've missed them. Let me go through the codebase and remove > > > all references to fd_set when you're not actually using select(). > > > > Ok, the only use I can see is in the slowfds use. The other use of > > fd_set is in the select() codepath. > > > > Here's the patch I'd like to commit: > > > > There is also at least the commUpdateReadBits() functions, probably more. > > A "quick fix" to detect them all is to add > > #if HAVE_POLL > #define fd_set INVALID_USE_OF_FD_SET > #endif
I can't leave that in - pinger/unlinkd use an fd_set. Gah, I'll have to do a little bit of tidying up to deal with the nreadfds and nwritefds in a more efficient fashion. Thanks. Arian