diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-15 02:41:38 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-15 02:41:38 +0000 |
| commit | b1322b8ada0396e2fc4055d969887c9f487d922d (patch) | |
| tree | 46fd6ef7bf293077dfaad3ec7c4670cbda30f55b | |
| parent | cfa715c54b827292d868592323e0c35f61e4f4ef (diff) | |
| download | ruby-b1322b8ada0396e2fc4055d969887c9f487d922d.tar.gz ruby-b1322b8ada0396e2fc4055d969887c9f487d922d.tar.xz ruby-b1322b8ada0396e2fc4055d969887c9f487d922d.zip | |
* io.c (pipe_open): revert a part of previous commit. it may be a
mistake.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | io.c | 9 |
2 files changed, 8 insertions, 6 deletions
@@ -1,3 +1,8 @@ +Thu Jan 15 11:40:44 2009 NAKAMURA Usaku <usa@ruby-lang.org> + + * io.c (pipe_open): revert a part of previous commit. it may be a + mistake. + Thu Jan 15 10:45:52 2009 Yukihiro Matsumoto <matz@ruby-lang.org> * symbian/README.SYMBIAN: symbian support added. great appreciate @@ -4479,12 +4479,9 @@ pipe_open(struct rb_exec_arg *eargp, VALUE prog, const char *modestr, int fmode, int status; struct popen_arg arg; char errmsg[80] = { '\0' }; -#else -#if defined(_WIN32) - int openmode = rb_io_modestr_oflags(modestr); - const char *exename = NULL; - volatile VALUE cmdbuf; -#endif +#elif defined(_WIN32) + volatile VALUE argbuf; + char **args = NULL; struct rb_exec_arg sarg; int pair[2], write_pair[2]; #endif |
