diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-27 07:56:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-27 07:56:52 +0000 |
commit | 1af4196cdfead2daca292e8be3bb65e2e2478298 (patch) | |
tree | a7a4fa9d34109c57880657794987f400a82b82b3 /ChangeLog | |
parent | 9b4b5ad27c56ab713a95dfbfa84fdd74280fc9ca (diff) | |
download | ruby-1af4196cdfead2daca292e8be3bb65e2e2478298.tar.gz |
enumerator.c: rb_check_funcall
* enumerator.c (enumerator_size): use rb_check_funcall() instead of
respond_to? and call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,7 @@ -Tue Aug 27 16:51:21 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> +Tue Aug 27 16:56:50 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * enumerator.c (enumerator_size): use rb_check_funcall() instead of + respond_to? and call. * enumerator.c (enumerator_each): ensure that argument array size does not overflow at appending. |