[ruby-cvs:53554] nobu:r46408 (trunk): string.c: shrink too big buffer

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Jun 12 13:09:27 JST 2014


nobu	2014-06-12 13:09:26 +0900 (Thu, 12 Jun 2014)

  New Revision: 46408

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

  Log:
    string.c: shrink too big buffer
    
    * string.c (rb_str_resize): shrink the buffer even if new length
      is same but it is enough smaller than the capacity.

  Modified files:
    trunk/string.c


More information about the ruby-cvs mailing list