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

ruby-changes:38374

From: glass <ko1@a...>
Date: Sun, 10 May 2015 11:14:34 +0900 (JST)
Subject: [ruby-changes:38374] glass:r50455 (trunk): Revert "capa"

glass	2015-05-10 11:12:16 +0900 (Sun, 10 May 2015)

  New Revision: 50455

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

  Log:
    Revert "capa"
    It's my fault.
    
    This reverts commit 5e17fc6bc7cb8b0e58b05fa9ebf2c47ec73ecbb3.

  Modified files:
    trunk/enum.c
Index: enum.c
===================================================================
--- enum.c	(revision 50454)
+++ enum.c	(revision 50455)
@@ -522,7 +522,7 @@ enum_to_a(int argc, VALUE *argv, VALUE o https://github.com/ruby/ruby/blob/trunk/enum.c#L522
 	ary = rb_ary_new();
     }
     else {
-	ary = rb_ary_new_capa(NUM2LONG(size));
+	ary = rb_ary_new2(NUM2LONG(size));
     }
 =======
     VALUE ary = rb_ary_new();

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

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