mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* io.c (pipe_open): add RB_GC_GUARD.
This caused failure when test/ruby/test_argf.rb is executed with GC.stress = true in mswin32_90 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d369a50c2b
commit
f8bdd8dd08
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
Tue Jun 1 01:14:31 2010 Masaya Tarui <tarui@ruby-lnag.org>
|
||||
|
||||
* io.c (pipe_open): add RB_GC_GUARD.
|
||||
This caused failure when test/ruby/test_argf.rb is executed with
|
||||
GC.stress = true in mswin32_90
|
||||
|
||||
Mon May 31 23:44:22 2010 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* ext/tk/extconf.rb: use tclConfig.sh/tkConfig.sh when frameworks
|
||||
|
|
3
io.c
3
io.c
|
@ -5112,6 +5112,9 @@ pipe_open(struct rb_exec_arg *eargp, VALUE prog, const char *modestr, int fmode,
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
RB_GC_GUARD(argbuf);
|
||||
|
||||
if (eargp)
|
||||
rb_run_exec_options(&sarg, NULL);
|
||||
if ((fmode & FMODE_READABLE) && (fmode & FMODE_WRITABLE)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue