[ruby-cvs:65213] nobu:r58042 (trunk): string.c: use the usable size

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Mar 21 14:28:38 JST 2017

nobu	2017-03-21 14:28:38 +0900 (Tue, 21 Mar 2017)

  New Revision: 58042


    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 files:

More information about the ruby-cvs mailing list