git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2000-08-10 14:23:10 +00:00
parent 1732b6fa4e
commit 37282fa5b0
2 changed files with 6 additions and 1 deletions

View File

@ -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.

2
eval.c
View File

@ -8105,7 +8105,7 @@ rb_callcc(self)
return th->result;
}
else {
return rb_yield(th->thread);
return rb_yield(cont);
}
}