* thread.c (rb_thread_wait_fd_rw): terminate fdset.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9b9cc53e23
commit
ab7c645fee
@ -1,3 +1,7 @@
|
|||||||
|
Tue Jun 26 16:28:24 2007 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
|
* thread.c (rb_thread_wait_fd_rw): terminate fdset.
|
||||||
|
|
||||||
Tue Jun 26 16:26:58 2007 NAKAMURA Usaku <usa@ruby-lang.org>
|
Tue Jun 26 16:26:58 2007 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* regint.h: IL32LLP64 support.
|
* regint.h: IL32LLP64 support.
|
||||||
|
2
thread.c
2
thread.c
@ -1764,6 +1764,8 @@ rb_thread_wait_fd_rw(int fd, int read)
|
|||||||
result = do_select(fd + 1, 0, rb_fd_ptr(&set), 0, 0);
|
result = do_select(fd + 1, 0, rb_fd_ptr(&set), 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rb_fd_term(&set);
|
||||||
|
|
||||||
if (result < 0 && errno != EBADF) {
|
if (result < 0 && errno != EBADF) {
|
||||||
rb_sys_fail(0);
|
rb_sys_fail(0);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user