From 6b6a41d1e78ef3deabbe63a77e8e335d8bb684cb Mon Sep 17 00:00:00 2001 From: naruse Date: Mon, 15 Feb 2010 04:13:43 +0000 Subject: [PATCH] * array.c (rb_ary_push_m): use rb_ary_modify instead of rb_ary_modify_check. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ array.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d4501781fd..7b527c2a9f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Feb 15 13:11:47 2010 NARUSE, Yui + + * array.c (rb_ary_push_m): use rb_ary_modify instead of + rb_ary_modify_check. + Sun Feb 14 12:54:44 2010 Nobuyoshi Nakada * marshal.c (r_object0): removed duplicated entry for regexp. diff --git a/array.c b/array.c index a6c03e9248..02e6d1861d 100644 --- a/array.c +++ b/array.c @@ -751,7 +751,7 @@ rb_ary_push_1(VALUE ary, VALUE item) static VALUE rb_ary_push_m(int argc, VALUE *argv, VALUE ary) { - rb_ary_modify_check(ary); + rb_ary_modify(ary); while (argc--) { rb_ary_push_1(ary, *argv++); }