summaryrefslogtreecommitdiffstats
path: root/include/ruby/encoding.h
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-15 13:21:37 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-15 13:21:37 +0000
commitacffc3539b134be583859582f0766625a8a6798e (patch)
tree898a7843106e947097861b8fe1cef5058c801d49 /include/ruby/encoding.h
parent720004dc7105c159212491a8c42bbba267b85ffa (diff)
downloadruby-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