From e165973d8402abbdcb522e869147218eca0c42b7 Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 31 Oct 2013 15:00:06 +0000 Subject: merge revision(s) 42040,42041,42047,42068,42069: [Backport #8654] * array.c (rb_ary_count): iterate items appropriately. [Bug #8654] * array.c (rb_ary_count): check length to avoid SEGV while iterating. Remove other pointer loop when arg is given. * test/ruby/test_array.rb (test_count): add test for bug. [ruby-core:56072] [Bug #8654] * test/ruby/test_array.rb (test_count): add a test case for #count with an argument. See Bug #8654. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@43491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 5b3c2d70c0..f38d716cb6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,21 @@ +Thu Oct 31 23:57:22 2013 Benoit Daloze + + * test/ruby/test_array.rb (test_count): add a test case for #count + with an argument. See Bug #8654. + +Thu Oct 31 23:57:22 2013 Benoit Daloze + + * array.c (rb_ary_count): check length to avoid SEGV + while iterating. Remove other pointer loop when arg is given. + + * test/ruby/test_array.rb (test_count): add test for bug. + [ruby-core:56072] [Bug #8654] + +Thu Oct 31 23:57:22 2013 Masaki Matsushita + + * array.c (rb_ary_count): iterate items appropriately. + [Bug #8654] + Thu Oct 31 23:42:39 2013 Nobuyoshi Nakada * lib/tempfile.rb (Tempfile#unlink): finalizer is no longer needed -- cgit v1.2.3