From 615a868b4bdd063789ddefa23e6220d07afc89df Mon Sep 17 00:00:00 2001 From: glass Date: Sun, 10 May 2015 02:12:16 +0000 Subject: [PATCH] Revert "capa" It's my fault. This reverts commit 5e17fc6bc7cb8b0e58b05fa9ebf2c47ec73ecbb3. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- enum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enum.c b/enum.c index fc49e96a3d..69e753ad1b 100644 --- a/enum.c +++ b/enum.c @@ -522,7 +522,7 @@ enum_to_a(int argc, VALUE *argv, VALUE obj) ary = rb_ary_new(); } else { - ary = rb_ary_new_capa(NUM2LONG(size)); + ary = rb_ary_new2(NUM2LONG(size)); } ======= VALUE ary = rb_ary_new();