[前][次][番号順一覧][スレッド一覧]

ruby-changes:12983

From: ko1 <ko1@a...>
Date: Tue, 1 Sep 2009 19:58:51 +0900 (JST)
Subject: [ruby-changes:12983] Ruby:r24726 (trunk): * vm_eval.c (eval_string_with_cref): fix to check local_table_size.

ko1	2009-09-01 19:58:31 +0900 (Tue, 01 Sep 2009)

  New Revision: 24726

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24726

  Log:
    * vm_eval.c (eval_string_with_cref): fix to check local_table_size.
      [ruby-dev:39205] [Bug #2024]

  Modified files:
    trunk/ChangeLog
    trunk/vm_eval.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 24725)
+++ ChangeLog	(revision 24726)
@@ -1,3 +1,8 @@
+Tue Sep  1 19:56:28 2009  Koichi Sasada  <ko1@a...>
+
+	* vm_eval.c (eval_string_with_cref): fix to check local_table_size.
+	  [ruby-dev:39205] [Bug #2024]
+
 Mon Aug 31 16:20:41 2009  Yuki Sonoda (Yugui)  <yugui@y...>
 
 	* class.c (make_singleton_class): variable name changed.
Index: vm_eval.c
===================================================================
--- vm_eval.c	(revision 24725)
+++ vm_eval.c	(revision 24726)
@@ -833,7 +833,7 @@
 
 	/* 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);
 	}
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]