diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-24 06:33:49 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-24 06:33:49 +0000 |
commit | d64c926eba3a317f4756e048d2ef7522c463636d (patch) | |
tree | eb1a3f91baa522fb5401b0f1a8c121d6a45e279f /ChangeLog | |
parent | 023561f704f51804d0803ff2c1839901d609a83d (diff) | |
download | ruby-d64c926eba3a317f4756e048d2ef7522c463636d.tar.gz |
random.c: increase limit for generic rand
* random.c (rb_random_ulong_limited): limit is inclusive, but generic
rand method should return a number less than it, so increase for the
difference. [ruby-core:52779] [Bug #7935]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,15 @@ +Sun Feb 24 15:33:46 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * random.c (rb_random_ulong_limited): limit is inclusive, but generic + rand method should return a number less than it, so increase for the + difference. [ruby-core:52779] [Bug #7935] + +Sun Feb 24 15:32:36 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * random.c (rb_random_ulong_limited): limit is inclusive, but generic + rand method should return a number less than it, so increase for the + difference. [ruby-core:52779] [Bug #7935] + Sun Feb 24 15:14:43 2013 Eric Hodel <drbrain@segment7.net> * lib/net/http.rb: Removed duplicate Accept-Encoding in Net::HTTP#get. |