mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm_eval.c (rb_iterate): remove SEGV (retry).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c8b20d0877
commit
052f7f27f2
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Dec 21 02:45:46 2009 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* vm_eval.c (rb_iterate): remove SEGV (retry).
|
||||
|
||||
Sun Dec 20 23:18:23 2009 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* vm_eval.c (rb_iterate): remove SEGV (use the original patch).
|
||||
|
|
|
@ -832,7 +832,7 @@ rb_iterate(VALUE (* it_proc) (VALUE), VALUE data1,
|
|||
rb_block_t *blockptr;
|
||||
if (bl_proc) {
|
||||
blockptr = RUBY_VM_GET_BLOCK_PTR_IN_CFP(th->cfp);
|
||||
blockptr->iseq = (void *)NEW_IFUNC(bl_proc, data2);
|
||||
blockptr->iseq = (void *)node;
|
||||
blockptr->proc = 0;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue