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

ruby-changes:14804

From: naruse <ko1@a...>
Date: Mon, 15 Feb 2010 13:14:00 +0900 (JST)
Subject: [ruby-changes:14804] Ruby:r26665 (trunk): * array.c (rb_ary_push_m): use rb_ary_modify instead of

naruse	2010-02-15 13:13:43 +0900 (Mon, 15 Feb 2010)

  New Revision: 26665

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

  Log:
    * array.c (rb_ary_push_m): use rb_ary_modify instead of
      rb_ary_modify_check.

  Modified files:
    trunk/ChangeLog
    trunk/array.c

Index: array.c
===================================================================
--- array.c	(revision 26664)
+++ array.c	(revision 26665)
@@ -751,7 +751,7 @@
 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++);
     }
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 26664)
+++ ChangeLog	(revision 26665)
@@ -1,3 +1,8 @@
+Mon Feb 15 13:11:47 2010  NARUSE, Yui  <naruse@r...>
+
+	* 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  <nobu@r...>
 
 	* marshal.c (r_object0): removed duplicated entry for regexp.

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

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