[ruby-cvs:52680] nobu:r45534 (trunk): string.c: fix capacity

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Apr 9 12:44:57 JST 2014


nobu	2014-04-09 12:44:55 +0900 (Wed, 09 Apr 2014)

  New Revision: 45534

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

  Log:
    string.c: fix capacity
    
    * string.c (str_buf_cat): should round up the capacity by 4KiB,
      but not number of rooms.  [ruby-core:61886] [Bug #9709]

  Modified files:
    trunk/ChangeLog
    trunk/string.c
    trunk/test/ruby/test_string.rb


More information about the ruby-cvs mailing list