diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-20 04:04:51 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-20 04:04:51 +0000 |
| commit | eb31d95c8d0d8bf8f15538a44fddb3f5317fe66b (patch) | |
| tree | a4f383869a422c5a5e6d44048b0293157f38ff14 /include/ruby | |
| parent | e6025fe36afa3280c631382f2bfadf6e4e3a9e06 (diff) | |
| download | ruby-eb31d95c8d0d8bf8f15538a44fddb3f5317fe66b.tar.gz ruby-eb31d95c8d0d8bf8f15538a44fddb3f5317fe66b.tar.xz ruby-eb31d95c8d0d8bf8f15538a44fddb3f5317fe66b.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@13978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
| -rw-r--r-- | include/ruby/win32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h index 02021f19d..79e339689 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 *); |
