* io.c (pipe_open): need to initialize args.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2008-12-23 06:30:33 +00:00
parent 0c9fe2130f
commit 7d02404765
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Tue Dec 23 15:30:02 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* io.c (pipe_open): need to initialize args.
Tue Dec 23 14:18:14 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* include/ruby/st.h: need to include defines.h because LONG_LONG is

2
io.c
View File

@ -4448,7 +4448,7 @@ pipe_open(struct rb_exec_arg *eargp, VALUE prog, const char *modestr, int fmode,
struct popen_arg arg;
#elif defined(_WIN32)
volatile VALUE argbuf;
char **args;
char **args = NULL;
struct rb_exec_arg sarg;
int pair[2], write_pair[2];
#endif