[ruby-cvs:50634] usa:r43491 (ruby_1_9_3): merge revision(s) 42040, 42041, 42047, 42068, 42069: [Backport #8654]

usa at ruby-lang.org usa at ruby-lang.org
Fri Nov 1 00:00:07 JST 2013


usa	2013-11-01 00:00:06 +0900 (Fri, 01 Nov 2013)

  New Revision: 43491

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

  Log:
    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.

  Modified directories:
    branches/ruby_1_9_3/
  Modified files:
    branches/ruby_1_9_3/ChangeLog
    branches/ruby_1_9_3/array.c
    branches/ruby_1_9_3/test/ruby/test_array.rb
    branches/ruby_1_9_3/version.h


More information about the ruby-cvs mailing list