[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH, HURD][RFC] hurdselect: Step7x, almost complete rewrite finis

From: Pino Toscano
Subject: Re: [PATCH, HURD][RFC] hurdselect: Step7x, almost complete rewrite finished
Date: Tue, 12 Feb 2013 23:52:09 +0100
User-agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; )

Alle martedì 12 febbraio 2013, Svante Signell ha scritto:
>  * change the FD_SETSIZE upper value check to larger than or equal
> from larger than.
> (from POSIX definition of select:
> http://pubs.opengroup.org/onlinepubs/009604499/functions/select.html
> )

 actually, and it says:
|    The nfds argument is less than 0 or greater than FD_SETSIZE.
and not "greater or equal than", so it allows FD_SETSIZE.
(And logically, if a fdset_t can contain at most FD_SETSIZE fd's, you 
need to allow FD_SETSIZE as maximum number of fd's.)

Please remove this change, which is wrong.

Pino Toscano

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]