diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-15 13:21:37 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-15 13:21:37 +0000 |
| commit | acffc3539b134be583859582f0766625a8a6798e (patch) | |
| tree | 898a7843106e947097861b8fe1cef5058c801d49 /include/ruby/encoding.h | |
| parent | 720004dc7105c159212491a8c42bbba267b85ffa (diff) | |
| download | ruby-acffc3539b134be583859582f0766625a8a6798e.tar.gz ruby-acffc3539b134be583859582f0766625a8a6798e.tar.xz ruby-acffc3539b134be583859582f0766625a8a6798e.zip | |
* array.c (RESIZE_CAPA): check whether len is longer than capacity.
* array.c (rb_ary_compact_bang): resize ary before changing capacity.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/encoding.h')
0 files changed, 0 insertions, 0 deletions
