diff options
| author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-28 16:12:03 +0000 |
|---|---|---|
| committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-28 16:12:03 +0000 |
| commit | acdd2dbaf3ea8958d480ecd7af7d2ede2d47087d (patch) | |
| tree | 1bc925e9d354071db71bbeec0652e1896c22bfe2 | |
| parent | 4f7713ad51a17d670c803e0b3e626610edd0d6e6 (diff) | |
| download | ruby-acdd2dbaf3ea8958d480ecd7af7d2ede2d47087d.tar.gz ruby-acdd2dbaf3ea8958d480ecd7af7d2ede2d47087d.tar.xz ruby-acdd2dbaf3ea8958d480ecd7af7d2ede2d47087d.zip | |
merges r24726 from trunk into ruby_1_9_1.
--
* vm_eval.c (eval_string_with_cref): fix to check local_table_size.
[ruby-dev:39205] [Bug #2024]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | version.h | 2 | ||||
| -rw-r--r-- | vm_eval.c | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Tue Sep 1 19:56:28 2009 Koichi Sasada <ko1@atdot.net> + + * vm_eval.c (eval_string_with_cref): fix to check local_table_size. + [ruby-dev:39205] [Bug #2024] + Sun Aug 30 16:38:56 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> * parse.y (rb_enc_symname2_p): not depend on nul terminator. @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.1" -#define RUBY_PATCHLEVEL 309 +#define RUBY_PATCHLEVEL 310 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 9 #define RUBY_VERSION_TEENY 1 @@ -754,7 +754,7 @@ eval_string_with_cref(VALUE self, VALUE src, VALUE scope, NODE *cref, const char /* save new env */ GetISeqPtr(iseqval, iseq); - if (bind && iseq->local_size > 0) { + if (bind && iseq->local_table_size > 0) { bind->env = rb_vm_make_env_object(th, th->cfp); } |
