summaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-25 04:47:47 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-25 04:47:47 +0000
commit7fd91aaabd4d4e9409b7ef3551f0f65ffe542d69 (patch)
treecc88cb1a1d95e1705689e1a611f2b677c6b81ddf /thread.c
parentc80ad8b199d3e7077083e2e61d2e142f1e69e457 (diff)
downloadruby-7fd91aaabd4d4e9409b7ef3551f0f65ffe542d69.tar.gz
ruby-7fd91aaabd4d4e9409b7ef3551f0f65ffe542d69.tar.xz
ruby-7fd91aaabd4d4e9409b7ef3551f0f65ffe542d69.zip
* thread.c (rb_thread_wait_fd_rw): should check EBADF on select().
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index 5bf529922..1a1d3661c 100644
--- a/thread.c
+++ b/thread.c
@@ -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);
}
}