diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-26 17:27:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-26 17:27:01 +0000 |
commit | 4760b9824fc4e6ce195249e7b1101bce714b12bd (patch) | |
tree | 14acbf8880bc0a74cc04bbef5c3a69a033c05cdf /ChangeLog | |
parent | faaec02a2dbe20b83c9bd13a7b0a212fdb991a32 (diff) |
string.c: fix memsize of frozen shared string
* string.c (str_new4): copy the original capacity so that memsize of
frozen shared string returns correct size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Wed Nov 27 02:26:58 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * string.c (str_new4): copy the original capacity so that memsize of + frozen shared string returns correct size. + Wed Nov 27 02:20:13 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> * array.c (rb_ary_hash): should not ignore the rest of recursive |