ruby-changes:47661
From: nobu <ko1@a...>
Date: Fri, 8 Sep 2017 16:22:51 +0900 (JST)
Subject: [ruby-changes:47661] nobu:r59777 (trunk): fix up r59776
nobu 2017-09-08 16:22:47 +0900 (Fri, 08 Sep 2017) New Revision: 59777 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59777 Log: fix up r59776 Modified files: trunk/cont.c Index: cont.c =================================================================== --- cont.c (revision 59776) +++ cont.c (revision 59777) @@ -1479,7 +1479,7 @@ fiber_store(rb_fiber_t *next_fib, rb_thr https://github.com/ruby/ruby/blob/trunk/cont.c#L1479 cont_save_machine_stack(th, &fib->cont); if (ruby_setjmp(fib->cont.jmpbuf)) { /* restored */ - fib = th->fiber; + fib = th->ec.fiber; if (fib->cont.argc == -1) rb_exc_raise(fib->cont.value); if (next_fib->cont.value == Qundef) { cont_restore_0(&next_fib->cont, &next_fib->cont.value); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/