[ruby-cvs:52156] nagachika:r45011 (ruby_2_0_0): merge revision(s) r43942, r43957, r43975: [Backport #9187]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Mon Feb 17 01:47:25 JST 2014


nagachika	2014-02-17 01:47:24 +0900 (Mon, 17 Feb 2014)

  New Revision: 45011

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

  Log:
    merge revision(s) r43942,r43957,r43975: [Backport #9187]
    
    * hash.c (rb_hash_rehash): fix to free new st_table when exception
      is raised in do_hash(). [Bug #9187]
    
    * hash.c (rb_hash_rehash): make temporary st_table under the control
      of GC. [Bug #9187]
    
    * test/ruby/test_hash.rb: add a test for above.
    
    * array.c (rb_hash_rehash): use hash_alloc() instead of rb_hash_new().
      [Bug #9187]

  Modified directories:
    branches/ruby_2_0_0/
  Modified files:
    branches/ruby_2_0_0/ChangeLog
    branches/ruby_2_0_0/hash.c
    branches/ruby_2_0_0/test/ruby/test_hash.rb
    branches/ruby_2_0_0/version.h


More information about the ruby-cvs mailing list