1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* thread.c (rb_thread_wait_fd_rw): should check EBADF on select().

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2007-12-25 04:47:47 +00:00
parent 42f0b52f77
commit 884f1eed2c
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Tue Dec 25 13:44:51 2007 Koichi Sasada <ko1@atdot.net>
* thread.c (rb_thread_wait_fd_rw): should check EBADF on select().
Tue Dec 25 13:30:03 2007 Koichi Sasada <ko1@atdot.net>
* thread_pthread.c, thread_pthread.h, thread_win32.c,

View file

@ -1850,7 +1850,7 @@ rb_thread_wait_fd_rw(int fd, int read)
rb_fd_term(&set);
if (result < 0 && errno != EBADF) {
if (result < 0) {
rb_sys_fail(0);
}
}