diff options
author | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-01 17:32:21 +0000 |
---|---|---|
committer | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-01 17:32:21 +0000 |
commit | c1403632e9a5ee23f6a27ce1366f0cf77bdfad72 (patch) | |
tree | 5399340cfc19d43eb61f9c0cdeb254f49537766f /version.h | |
parent | 2b95bdbb3c63be5dfdaaf1d83a5c7ecbc778441e (diff) | |
download | ruby-c1403632e9a5ee23f6a27ce1366f0cf77bdfad72.tar.gz |
* string.c (str_fill_term): When termlen increases, re-allocation
of memory for termlen should always be needed.
In this fix, if possible, decrease capa instead of realloc.
[Bug #12536] [ruby-dev:49699]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'version.h')
0 files changed, 0 insertions, 0 deletions