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

ruby-changes:17601

From: usa <ko1@a...>
Date: Wed, 27 Oct 2010 12:06:33 +0900 (JST)
Subject: [ruby-changes:17601] Ruby:r29606 (trunk): * class.c (clone_const): need to return value. fix r29602.

usa	2010-10-27 12:06:27 +0900 (Wed, 27 Oct 2010)

  New Revision: 29606

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

  Log:
    * class.c (clone_const): need to return value. fix r29602.

  Modified files:
    trunk/ChangeLog
    trunk/class.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 29605)
+++ ChangeLog	(revision 29606)
@@ -1,3 +1,7 @@
+Wed Oct 27 12:05:40 2010  NAKAMURA Usaku  <usa@r...>
+
+	* class.c (clone_const): need to return value. fix r29602.
+
 Wed Oct 27 11:58:58 2010  NAKAMURA Usaku  <usa@r...>
 
 	* include/ruby/ruby.h (NUM2LONG_internal): add cast to get rid of a
Index: class.c
===================================================================
--- class.c	(revision 29605)
+++ class.c	(revision 29606)
@@ -147,6 +147,7 @@
     rb_const_entry_t *nce = ALLOC(rb_const_entry_t);
     *nce = *ce;
     st_insert(tbl, key, (st_data_t)nce);
+    return ST_CONTINUE;
 }
 
 /* :nodoc: */

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

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