diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-10 05:05:49 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-10 05:05:49 +0000 |
commit | b3fc59837aa53c67e8167700b27ad79feaa30e33 (patch) | |
tree | b1d0a4ac5b1c6bd7fa724eead39b3ca12c277910 /ChangeLog | |
parent | c19fafb0a45cc30b04fdeb9eb5b5fb8a6d80be79 (diff) |
* array.c (rb_ary_cycle): avoid infinite loop for empty array.
based on a patch from David Flanagan. [ruby-core:12085]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Mon Sep 10 13:44:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org> + + * array.c (rb_ary_cycle): avoid infinite loop for empty array. + based on a patch from David Flanagan. [ruby-core:12085] + Mon Sep 10 01:21:23 2007 Yukihiro Matsumoto <matz@ruby-lang.org> * marshal.c (r_object0): struct allocation first to check if a |