From cae4fb76dcc6810a38ad67301fb764b8b7e5c5ca Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 20 Nov 2007 04:04:51 +0000 Subject: * include/ruby/win32.h win32/win32.c (rb_w32_pipe_exec): use dual fd instead of socketpair when mode is RDWR. * io.c (pipe_open): pass &write_fd to rb_w32_pipe_exec(). * io.c (popen_redirect): define only when HAVE_FORK. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/win32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/ruby/win32.h b/include/ruby/win32.h index 02021f19d9..79e3396892 100644 --- a/include/ruby/win32.h +++ b/include/ruby/win32.h @@ -206,7 +206,7 @@ struct timezone { #endif #define NtInitialize ruby_sysinit extern int rb_w32_cmdvector(const char *, char ***); -extern rb_pid_t rb_w32_pipe_exec(const char *, const char *, int, int *); +extern rb_pid_t rb_w32_pipe_exec(const char *, const char *, int, int *, int *); extern int flock(int fd, int oper); extern int rb_w32_is_socket(int); extern int WSAAPI rb_w32_accept(int, struct sockaddr *, int *); -- cgit v1.2.3