[ruby-cvs:51114] glass:r43969 (trunk): * array.c (ary_add_hash): set and return values because string keys

glass at ruby-lang.org glass at ruby-lang.org
Tue Dec 3 13:55:52 JST 2013


glass	2013-12-03 13:55:51 +0900 (Tue, 03 Dec 2013)

  New Revision: 43969

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

  Log:
    * array.c (ary_add_hash): set and return values because string keys
      will be frozen. [ruby-core:58809] [Bug #9202]
    
    * array.c (rb_ary_uniq_bang): ditto.
    
    * array.c (rb_ary_or): ditto.
    
    * array.c (rb_ary_uniq): ditto.
    
    * test/ruby/test_array.rb: tests for above.
    
    The patch is from normalperson (Eric Wong).

  Modified files:
    trunk/ChangeLog
    trunk/array.c
    trunk/test/ruby/test_array.rb


More information about the ruby-cvs mailing list