diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | cont.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Thu Oct 16 16:26:09 2014 Eric Wong <[email protected]> + + * cont.c (fiber_store): fix WIN32 fibers + [ruby-core:65745] [ruby-core:65758] + Thu Oct 16 15:05:07 2014 Nobuyoshi Nakada <[email protected]> * parse.y (parser_here_document): do not append already appended @@ -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); |