ruby-changes:38373
From: glass <ko1@a...>
Date: Sun, 10 May 2015 11:10:28 +0900 (JST)
Subject: [ruby-changes:38373] glass:r50454 (trunk): Revert "temp"
glass 2015-05-10 11:10:16 +0900 (Sun, 10 May 2015) New Revision: 50454 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50454 Log: Revert "temp" This reverts commit 3482910fc4ca8515b38f56bdd9fa0db7002413ad. Modified files: trunk/enum.c Index: enum.c =================================================================== --- enum.c (revision 50453) +++ enum.c (revision 50454) @@ -515,6 +515,7 @@ enum_flat_map(VALUE obj) https://github.com/ruby/ruby/blob/trunk/enum.c#L515 static VALUE enum_to_a(int argc, VALUE *argv, VALUE obj) { +<<<<<<< HEAD VALUE ary, size = rb_check_funcall(obj, id_size, 0, 0); if (size == Qundef) { @@ -523,6 +524,9 @@ enum_to_a(int argc, VALUE *argv, VALUE o https://github.com/ruby/ruby/blob/trunk/enum.c#L524 else { ary = rb_ary_new_capa(NUM2LONG(size)); } +======= + VALUE ary = rb_ary_new(); +>>>>>>> parent of 3482910... temp rb_block_call(obj, id_each, argc, argv, collect_all, ary); OBJ_INFECT(ary, obj); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/