[ruby-cvs:52083] usa:r44938 (ruby_1_9_3): merge revision(s) 43942, 43957, 43975: [Backport #9187]

usa at ruby-lang.org usa at ruby-lang.org
Fri Feb 14 14:45:21 JST 2014


usa	2014-02-14 14:45:19 +0900 (Fri, 14 Feb 2014)

  New Revision: 44938

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

  Log:
    merge revision(s) 43942,43957,43975: [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_1_9_3/
  Modified files:
    branches/ruby_1_9_3/ChangeLog
    branches/ruby_1_9_3/hash.c
    branches/ruby_1_9_3/test/ruby/envutil.rb
    branches/ruby_1_9_3/test/ruby/test_hash.rb
    branches/ruby_1_9_3/version.h


More information about the ruby-cvs mailing list