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 | 781c483c7c5ee2ad71a8e72200352846589d03cd (patch) | |
| tree | b1d0a4ac5b1c6bd7fa724eead39b3ca12c277910 /ChangeLog | |
| parent | 7bfec8ed345e949ee056c15edc7b958a6a9aa9b8 (diff) | |
| download | ruby-781c483c7c5ee2ad71a8e72200352846589d03cd.tar.gz ruby-781c483c7c5ee2ad71a8e72200352846589d03cd.tar.xz ruby-781c483c7c5ee2ad71a8e72200352846589d03cd.zip | |
* array.c (rb_ary_cycle): avoid infinite loop for empty array.
based on a patch from David Flanagan. [ruby-core:12085]
git-svn-id: http://svn.ruby-lang.org/repos/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 |
