cont.c (fiber_store): fix WIN32 fibers
[ruby-core:65745] [ruby-core:65758] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
04e5c65ff7
commit
5c3c2ddda2
@ -1,3 +1,8 @@
|
||||
Thu Oct 16 16:26:09 2014 Eric Wong <e@80x24.org>
|
||||
|
||||
* cont.c (fiber_store): fix WIN32 fibers
|
||||
[ruby-core:65745] [ruby-core:65758]
|
||||
|
||||
Thu Oct 16 15:05:07 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* parse.y (parser_here_document): do not append already appended
|
||||
|
2
cont.c
2
cont.c
@ -1366,10 +1366,10 @@ fiber_store(rb_fiber_t *next_fib, rb_thread_t *th)
|
||||
terminated_machine_stack.ptr = NULL;
|
||||
terminated_machine_stack.size = 0;
|
||||
}
|
||||
#endif /* not _WIN32 */
|
||||
fib = th->fiber;
|
||||
if (fib->cont.argc == -1) rb_exc_raise(fib->cont.value);
|
||||
return fib->cont.value;
|
||||
#endif /* not _WIN32 */
|
||||
|
||||
#else /* FIBER_USE_NATIVE */
|
||||
cont_save_machine_stack(th, &fib->cont);
|
||||
|
Loading…
x
Reference in New Issue
Block a user