[vlc-devel] [PATCH 13/18] Implement vlc_poll() on OS/2

Rémi Denis-Courmont remi at remlab.net
Mon Oct 31 18:52:59 CET 2011


Le vendredi 21 octobre 2011 19:04:05 KO Myung-Hun, vous avez écrit :
> I know, OS/2(kLIBC) uses a BSD-style bits field.
> 
> But, let's think about this case, nfds = FD_SETSIZE + 1.
> 
> In this case, one of fds.fd should be equal to or greater than FD_SETSIZE.

In this case, the nfds >= FD_SETSIZE check is still totally useless, and an 
irrelevant optimization.

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list