diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-06 01:31:27 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-06 01:31:27 +0000 |
commit | 78b1ca9f0f9f3f2ecc65342158af5e71b6fb8139 (patch) | |
tree | 3e9d0791ba74642cb60847ac453c2a215c8e31c7 /test/drb/ut_drb_drbssl.rb | |
parent | 38a9831caaed025a30b3a3027cd5f6129b258758 (diff) | |
download | ruby-78b1ca9f0f9f3f2ecc65342158af5e71b6fb8139.tar.gz |
array.c: comment why rb_ary_modify is needed twice
* array.c (rb_ary_initialize): NUM2LONG() may call size.to_int,
ary can be frozen, modified, etc, so recheck after argument
conversion is necessary. [Closes GH-526]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/drb/ut_drb_drbssl.rb')
0 files changed, 0 insertions, 0 deletions