diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-21 05:28:38 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-21 05:28:38 +0000 |
commit | 3f7d45bf26f31d99e0b053683d7758c1deb03d98 (patch) | |
tree | dc572f7624c84047cf19ef263b1a17b25174d07d /include | |
parent | bd8597a9993491479d2e03a4ded55e864b2225b4 (diff) | |
download | ruby-3f7d45bf26f31d99e0b053683d7758c1deb03d98.tar.gz |
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]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions