comment FreeBSD PR number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
46043b2294
commit
eea27ee2ec
2
eval.c
2
eval.c
@ -9644,7 +9644,7 @@ rb_fd_isset(n, fds)
|
|||||||
const rb_fdset_t *fds;
|
const rb_fdset_t *fds;
|
||||||
{
|
{
|
||||||
if (n >= fds->maxfd) return 0;
|
if (n >= fds->maxfd) return 0;
|
||||||
return FD_ISSET(n, fds->fdset) != 0; /* "!= 0" avoids FreeBSD bug */
|
return FD_ISSET(n, fds->fdset) != 0; /* "!= 0" avoids FreeBSD PR 91421 */
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user