From bb4dcd5582eafa8947c1520cc187c64e302755a2 Mon Sep 17 00:00:00 2001 From: kosaki Date: Mon, 12 Sep 2011 11:51:11 +0000 Subject: * Backport r33231. * 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/branches/ruby_1_9_3@33258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thread.c') diff --git a/thread.c b/thread.c index 192b696629..a6d709aaed 100644 --- a/thread.c +++ b/thread.c @@ -2726,7 +2726,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); } -- cgit v1.2.3