[ruby-cvs:65217] naruse:r58046 (ruby_2_4): merge revision(s) 58042: [Backport #13339]

naruse at ruby-lang.org naruse at ruby-lang.org
Tue Mar 21 23:11:42 JST 2017


naruse	2017-03-21 23:11:42 +0900 (Tue, 21 Mar 2017)

  New Revision: 58046

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

  Log:
    merge revision(s) 58042: [Backport #13339]
    
    string.c: use the usable size
    
    * string.c (rb_str_change_terminator_length): when called after
      the content has been copied, old terminator length no longer
      makes sense.  use the whole usable size instead of capacity
      without terminator.  [ruby-core:80257] [Bug #13339]

  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/string.c
    branches/ruby_2_4/version.h


More information about the ruby-cvs mailing list