[ruby-cvs:65606] ko1:r58434 (trunk): mark created frozen strings.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Fri Apr 21 20:02:10 JST 2017


ko1	2017-04-21 20:02:10 +0900 (Fri, 21 Apr 2017)

  New Revision: 58434

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58434

  Log:
    mark created frozen strings.
    
    * hash.c (rb_hash_new_from_values_with_klass): before this fix,
      only a st table are filled with passed values. However, newly
      created frozen strings are not marked correctly only reference
      from st table. This patch marks such created frozen strings
      by Hash object which refers to the st table.

  Modified files:
    trunk/hash.c


More information about the ruby-cvs mailing list