summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-09-09 01:22:06 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-09-09 01:22:06 +0000
commit61b062ba6dac3d7583096bf25158d187413c2029 (patch)
tree377f2b852182dcce39a9b42b84214034e99deb8c /thread.c
parentfa5446f14e0c57037432911745944da11f570945 (diff)
* thread.c (rb_thread_select): fix a typo to initialize efds
properly. [Bug #5299] [ruby-core:39380] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33231 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 16e890656b..0466381f73 100644
--- a/thread.c
+++ b/thread.c
@@ -2704,7 +2704,7 @@ rb_thread_select(int max, fd_set * read, fd_set * write, fd_set * except,
}
if (except) {
efds = &fdsets[2];
- rb_fd_init(wfds);
+ rb_fd_init(efds);
rb_fd_copy(efds, except, max);
}