summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-14 14:30:37 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-14 14:30:37 +0000
commite2472dafa07c491954c3e81ee9643ade1252ce00 (patch)
tree80f6f1905f37f3b69686b4a9bc2352793bb991d9 /io.c
parent9d2b69a27306058af38a7e5c1b57dd419a57fd05 (diff)
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@9159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/io.c b/io.c
index 3f666933cc..ca8f934781 100644
--- a/io.c
+++ b/io.c
@@ -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;