diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-14 03:39:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-14 03:39:20 +0000 |
commit | 96a49b1ada2ca59e039d05b539d05643c6d74fc2 (patch) | |
tree | 5093211586d033dfb84579f52d558070aaef56a6 /io.c | |
parent | ff80e84db969c41e60771981d5236ecb474360b7 (diff) | |
download | ruby-96a49b1ada2ca59e039d05b539d05643c6d74fc2.tar.gz |
* io.c (rb_io_wait_readable, rb_io_wait_writable): need rb_fd_ptr.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -630,7 +630,7 @@ rb_io_wait_readable(int f) rb_ensure(wait_readable, (VALUE)&rfds, (VALUE (*)(VALUE))rb_fd_term, (VALUE)&rfds); #else - rb_thread_select(f + 1, &rfds, NULL, NULL, NULL); + rb_thread_select(f + 1, rb_fd_ptr(&rfds), NULL, NULL, NULL); #endif return Qtrue; @@ -675,7 +675,7 @@ rb_io_wait_writable(int f) rb_ensure(wait_writable, (VALUE)&wfds, (VALUE (*)(VALUE))rb_fd_term, (VALUE)&wfds); #else - rb_thread_select(f + 1, NULL, &wfds, NULL, NULL); + rb_thread_select(f + 1, NULL, rb_fd_ptr(&wfds), NULL, NULL); #endif return Qtrue; |