From e2472dafa07c491954c3e81ee9643ade1252ce00 Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 14 Sep 2005 14:30:37 +0000 Subject: * 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 --- io.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'io.c') 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; -- cgit v1.2.3