diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-30 20:42:40 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-30 20:42:40 +0000 |
commit | 88a9b878162b484099d3ff9c3c9579b98a7f1f8e (patch) | |
tree | 4265ecc0d1bd2bdece4bbf61c08f23f444109383 /doc/NEWS-1.9.2 | |
parent | 627e79f13f1779fd27f75f49001eee90ba28abe9 (diff) | |
download | ruby-88a9b878162b484099d3ff9c3c9579b98a7f1f8e.tar.gz |
* array.c (rb_ary_uniq_bang): call ARY_SET_LEN(ary, 0) before
rb_resize_capa because rb_resize_capa expects resized length is
smaller than current array length. call rb_ary_unshare before
rb_resize_capa because rb_resize_capa losts the reference to
original shared array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc/NEWS-1.9.2')
0 files changed, 0 insertions, 0 deletions