[ruby-cvs:54628] nagachika:r47480 (ruby_2_1): merge revision(s) r47190: [Backport #10139]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Wed Sep 10 02:46:12 JST 2014


nagachika	2014-09-10 02:46:10 +0900 (Wed, 10 Sep 2014)

  New Revision: 47480

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

  Log:
    merge revision(s) r47190: [Backport #10139]
    
    * string.c (setup_fake_str): fake strings should not set class by
      RBASIC_SET_CLASS() because it insert write barriers to fake
      (non-RVALUE) structure.
      It can cause unexpected behaviour.
      Ruby 2.1 also have a same problem (setup_fake_str() in parse.y).
    
    * symbol.c (setup_fake_str): ditto.

  Modified directories:
    branches/ruby_2_1/
  Modified files:
    branches/ruby_2_1/ChangeLog
    branches/ruby_2_1/parse.y
    branches/ruby_2_1/version.h


More information about the ruby-cvs mailing list