diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-14 14:30:37 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-14 14:30:37 +0000 |
commit | 84e137fa8157e67a7974cbe809be761a20a03522 (patch) | |
tree | 80f6f1905f37f3b69686b4a9bc2352793bb991d9 /io.c | |
parent | 70b77ce6a0e7bd9907d11c29932eb8e37c3e4076 (diff) | |
download | ruby-84e137fa8157e67a7974cbe809be761a20a03522.tar.gz ruby-84e137fa8157e67a7974cbe809be761a20a03522.tar.xz ruby-84e137fa8157e67a7974cbe809be761a20a03522.zip |
* win32/win32.c (collect_file_fd): rename from extract_file_fd.
* win32/win32.c (extract_pipe_fd, peek_pipe): new functions.
* win32/win32.c (rb_w32_select): check pipes by polling them.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -4850,11 +4850,7 @@ rb_io_s_pipe(VALUE klass) int pipes[2], state; VALUE r, w, args[3]; -#ifdef _WIN32 - if (_pipe(pipes, 1024, O_BINARY) == -1) -#else if (pipe(pipes) == -1) -#endif rb_sys_fail(0); args[0] = klass; |