1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
nobu 2009-02-18 06:33:53 +00:00
parent fd2b650d06
commit 30231731a9
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Wed Feb 18 15:33:51 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* io.c (pipe_open): sarg is always used unless HAVE_FORK.
Wed Feb 18 15:23:34 2009 Akinori MUSHA <knu@iDaemons.org> Wed Feb 18 15:23:34 2009 Akinori MUSHA <knu@iDaemons.org>
* bootstraptest/runner.rb: Use RUBY_DESCRIPTION if defined. * bootstraptest/runner.rb: Use RUBY_DESCRIPTION if defined.

4
io.c
View file

@ -4511,9 +4511,9 @@ pipe_open(struct rb_exec_arg *eargp, VALUE prog, const char *modestr, int fmode,
#elif defined(_WIN32) #elif defined(_WIN32)
volatile VALUE argbuf; volatile VALUE argbuf;
char **args = NULL; char **args = NULL;
struct rb_exec_arg sarg;
int pair[2], write_pair[2]; int pair[2], write_pair[2];
#elif defined(__SYMBIAN32__) #endif
#if !defined(HAVE_FORK)
struct rb_exec_arg sarg; struct rb_exec_arg sarg;
#endif #endif
FILE *fp = 0; FILE *fp = 0;