diff options
| author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-25 09:53:11 +0000 |
|---|---|---|
| committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-25 09:53:11 +0000 |
| commit | 15d785a4a2ab7c7311b36f0a0f9854ef44cfc8e0 (patch) | |
| tree | 482b425d8f008b7af8c655c3e09765d3439b7fe1 | |
| parent | fe6de899944cdf703ed39c828e507bf98bca9914 (diff) | |
merges r20934 from trunk into ruby_1_9_1.
* io.c (pipe_open): need to initialize args.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | io.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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 @@ -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 |
