[ruby-cvs:64637] normal:r57471 (trunk): string.c (rb_str_tmp_frozen_release): release embedded strings

normal at ruby-lang.org normal at ruby-lang.org
Tue Jan 31 06:54:32 JST 2017


normal	2017-01-31 06:54:32 +0900 (Tue, 31 Jan 2017)

  New Revision: 57471

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

  Log:
    string.c (rb_str_tmp_frozen_release): release embedded strings
    
    Handle the embedded case first, since we may have an embedded
    duplicate and non-embedded original string.
    
    * string.c (rb_str_tmp_frozen_release): handled embedded strings
    * test/ruby/test_io.rb (test_write_no_garbage): new test
      [ruby-core:78898] [Bug #13085]

  Modified files:
    trunk/string.c
    trunk/test/ruby/test_io.rb


More information about the ruby-cvs mailing list