diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-25 04:47:47 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-25 04:47:47 +0000 |
commit | 884f1eed2c4cebe4c0658b71ecef7a3ce3ae60d1 (patch) | |
tree | cc88cb1a1d95e1705689e1a611f2b677c6b81ddf /thread.c | |
parent | 42f0b52f771570adebbea518fa2464bd227bca99 (diff) |
* 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
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } } |