diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-05 01:20:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-05 01:20:20 +0000 |
commit | 4a429c11e1319b0e13368851454f109217ab5de5 (patch) | |
tree | e2db37bfebe9446a88399aef251d474eb9418295 /ChangeLog | |
parent | ce357ef152869d3c5bfd2e088a31d879daa4ecb6 (diff) | |
download | ruby-4a429c11e1319b0e13368851454f109217ab5de5.tar.gz |
enumerator.c: allow Bignum for with_index
* enumerator.c (enumerator_with_index_i): allow Bignum as offset, to
get rid of conversion exception and integer overflow.
[ruby-dev:47131] [Bug #8010]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,8 @@ -Tue Mar 5 10:19:09 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> +Tue Mar 5 10:20:16 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * enumerator.c (enumerator_with_index_i): allow Bignum as offset, to + get rid of conversion exception and integer overflow. + [ruby-dev:47131] [Bug #8010] * numeric.c (rb_int_succ, rb_int_pred): shortcut optimization for Bignum. |