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

ruby-changes:2338

From: ko1@a...
Date: 7 Nov 2007 03:38:09 +0900
Subject: [ruby-changes:2338] matz - Ruby:r13829 (trunk): * array.c (rb_ary_each_index): should return meaningful value.

matz	2007-11-07 03:36:49 +0900 (Wed, 07 Nov 2007)

  New Revision: 13829

  Modified files:
    trunk/ChangeLog
    trunk/array.c

  Log:
    * array.c (rb_ary_each_index): should return meaningful value.

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/array.c?r1=13829&r2=13828
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=13829&r2=13828

Index: array.c
===================================================================
--- array.c	(revision 13828)
+++ array.c	(revision 13829)
@@ -1193,6 +1193,7 @@
 {
     RETURN_ENUMERATOR(ary, 0, 0);
     ITERATE(each_index_i, ary);
+    return ary;
 }
 
 static VALUE
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 13828)
+++ ChangeLog	(revision 13829)
@@ -4,6 +4,10 @@
 	  nkf conversion.  a patch from <moonwolf AT moonwolf.com>.
 	  [ruby-dev:32183]
 
+Wed Nov  7 02:59:49 2007  Yukihiro Matsumoto  <matz@r...>
+
+	* array.c (rb_ary_each_index): should return meaningful value.
+
 Tue Nov  6 16:37:47 2007  Nobuyoshi Nakada  <nobu@r...>
 
 	* eval_load.c (loaded_feature_path): need to expand relative paths.

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

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