diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-02-16 14:54:22 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-02-16 14:54:22 +0000 |
commit | 1fdf66ad676cdeebf0b9a2e24d828c8643475ee0 (patch) | |
tree | 3dcdfe380b37c1040961f14aeb67e260005c9317 | |
parent | 2048950e16974f14159f9945fa8be576b6022b2a (diff) | |
download | ruby-1fdf66ad676cdeebf0b9a2e24d828c8643475ee0.tar.gz |
* eval.c (rb_thread_start_1): outer block variables wasn't linked to
threads. fixed: [ruby-dev:25700]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | eval.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Wed Feb 16 23:54:14 2005 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * eval.c (rb_thread_start_1): outer block variables wasn't linked to + threads. fixed: [ruby-dev:25700] + Wed Feb 16 15:11:43 2005 GOTOU Yuuzou <gotoyuzo@notwork.org> * ext/openssl/lib/openssl/ssl.rb (OpenSSL::Nonblock#initialize): @@ -11754,7 +11754,7 @@ rb_thread_start_1() ruby_scope = ip->scope; ruby_iter = ip->iter; ruby_cref = ip->cref; - ruby_dyna_vars = 0; + ruby_dyna_vars = ((struct BLOCK *)DATA_PTR(proc))->dyna_vars; PUSH_FRAME(); _frame.iter = ITER_CUR; PUSH_TAG(PROT_NONE); |