diff options
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | eval.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Thu Aug 10 08:05:03 2000 Yukihiro Matsumoto <matz@ruby-lang.org> + + * eval.c (rb_callcc): returned current thread instaed of + continuation wrongly. + Thu Aug 10 05:40:28 2000 WATANABE Hirofumi <eban@os.rim.or.jp> * ext/extmk.rb.in: $CPPFLAGS should be initialized. @@ -8105,7 +8105,7 @@ rb_callcc(self) return th->result; } else { - return rb_yield(th->thread); + return rb_yield(cont); } } |
