diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-18 06:33:53 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-18 06:33:53 +0000 |
commit | 30231731a9539e8b3474bd3ffa8e24624ea726d1 (patch) | |
tree | 34a62dfdcc989af80393f49d2fbb06ba93fc1321 /io.c | |
parent | fd2b650d068779887bd794e0097c081a6c70763e (diff) | |
download | ruby-30231731a9539e8b3474bd3ffa8e24624ea726d1.tar.gz |
* io.c (pipe_open): sarg is always used unless HAVE_FORK.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4511,9 +4511,9 @@ pipe_open(struct rb_exec_arg *eargp, VALUE prog, const char *modestr, int fmode, #elif defined(_WIN32) volatile VALUE argbuf; char **args = NULL; - struct rb_exec_arg sarg; int pair[2], write_pair[2]; -#elif defined(__SYMBIAN32__) +#endif +#if !defined(HAVE_FORK) struct rb_exec_arg sarg; #endif FILE *fp = 0; |