bug-hurd
[Top][All Lists]
Advanced

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

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


From: Samuel Thibault
Subject: Re: [PATCH, HURD][RFC] hurdselect: Step7x, almost complete rewrite finished
Date: Wed, 13 Feb 2013 00:21:03 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Svante Signell, le Wed 13 Feb 2013 00:17:21 +0100, a écrit :
> The behavior of these macros is undefined if the fd argument is less
> than 0 or greater than or equal to FD_SETSIZE, or if fd is not a valid
> file descriptor, or if any of the arguments are expressions with
> side-effects.

Ok, so FD_SETSIZE is indeed not a safe bet for python.

That doesn't mean that we should not support it nicely.

It could be checked what behavior the Linux kernel actually has.

Samuel



reply via email to

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