diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-24 20:21:59 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-24 20:21:59 +0000 |
commit | a412a7e00d3a2315e8cf252096b83350957e1346 (patch) | |
tree | 106eea3d7f3b542742efae167e19ed5961aa06cd /ChangeLog | |
parent | fa0c521a2159ed4cfa25c9898290f2ca7f17f85a (diff) |
Merge from ruby_1_8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1,3 +1,18 @@ +Sun May 25 05:07:19 2008 Akinori MUSHA <knu@iDaemons.org> + + * array.c (rb_ary_slice_bang): Be consistent with Array#slice() + and String#slice!(). Just return nil when a negative length or + out of boundary index is given instead of raising an exception + via internal functions. + (rb_ary_slice_bang): should not use rb_ary_subseq() which shares + internal pointer. splice modifies the receiver right after + subseq. [ruby-dev:34005] + (rb_ary_slice_bang): should adjust length before making + sub-array. + + * enumerator.c (Init_Enumerator): Override + Enumerable::Enumerator#each_with_index with #with_index. + Sun May 25 03:13:09 2008 Akinori MUSHA <knu@iDaemons.org> * eval.c (Init_Thread): Initialize recursive_key. |