ruby-changes:35848
From: usa <ko1@a...>
Date: Wed, 15 Oct 2014 15:55:36 +0900 (JST)
Subject: [ruby-changes:35848] usa:r47930 (ruby_2_0_0): merge revision(s) 47683: [Backport #10281]
usa 2014-10-15 15:55:27 +0900 (Wed, 15 Oct 2014) New Revision: 47930 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47930 Log: merge revision(s) 47683: [Backport #10281] array.c: GC guard * array.c (rb_ary_splice): prevent replacing array from GC. Modified directories: branches/ruby_2_0_0/ Modified files: branches/ruby_2_0_0/array.c branches/ruby_2_0_0/version.h Index: ruby_2_0_0/array.c =================================================================== --- ruby_2_0_0/array.c (revision 47929) +++ ruby_2_0_0/array.c (revision 47930) @@ -1471,6 +1471,7 @@ rb_ary_splice(VALUE ary, long beg, long https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/array.c#L1471 MEMMOVE(RARRAY_PTR(ary) + beg, RARRAY_PTR(rpl), VALUE, rlen); } } + RB_GC_GUARD(rpl); } void Index: ruby_2_0_0/version.h =================================================================== --- ruby_2_0_0/version.h (revision 47929) +++ ruby_2_0_0/version.h (revision 47930) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/version.h#L1 #define RUBY_VERSION "2.0.0" #define RUBY_RELEASE_DATE "2014-10-15" -#define RUBY_PATCHLEVEL 577 +#define RUBY_PATCHLEVEL 578 #define RUBY_RELEASE_YEAR 2014 #define RUBY_RELEASE_MONTH 10 Property changes on: ruby_2_0_0 ___________________________________________________________________ Modified: svn:mergeinfo Merged /trunk:r47683 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/