[ruby-cvs:53559] nobu:r46413 (trunk): string.c: consider capacity

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Jun 12 20:33:12 JST 2014


nobu	2014-06-12 20:33:12 +0900 (Thu, 12 Jun 2014)

  New Revision: 46413

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

  Log:
    string.c: consider capacity
    
    * string.c (rb_str_resize): should consider the capacity instead
      of the old length, as pointed out by nagachika.

  Modified files:
    trunk/ChangeLog
    trunk/string.c


More information about the ruby-cvs mailing list