diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-30 20:31:31 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-30 20:31:31 +0000 |
commit | 99c05fb38e8dc6d96a59c074de7b9aa39b1df31e (patch) | |
tree | ac347ea9c12887161257d9f2dd1fad0b3b469f26 /ChangeLog | |
parent | 052535be3e082d9c2d6b7650ff9430479036bab5 (diff) | |
download | ruby-99c05fb38e8dc6d96a59c074de7b9aa39b1df31e.tar.gz |
* random.c (Init_RandomSeed): move all Random::DEFAULT
construction bits to Init_RandomSeed2. Random::DEFAULT
and Ruby internal hashes are no longer shared their seed.
* random.c (Init_RandomSeed2): ditto. And, kill evil
rb_obj_reveal() stuff.
* random.c (init_hashseed): add MT argument.
* random.c: (init_siphash): ditto.
* test/ruby/test_rand.rb (TestRand#test_default_seed): new
test for Random::DEFAULT::seed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,17 @@ +Thu Oct 22 06:20:48 2015 KOSAKI Motohiro <kosaki.motohiro@gmail.com> + + * random.c (Init_RandomSeed): move all Random::DEFAULT + construction bits to Init_RandomSeed2. Random::DEFAULT + and Ruby internal hashes are no longer shared their seed. + * random.c (Init_RandomSeed2): ditto. And, kill evil + rb_obj_reveal() stuff. + + * random.c (init_hashseed): add MT argument. + * random.c: (init_siphash): ditto. + + * test/ruby/test_rand.rb (TestRand#test_default_seed): new + test for Random::DEFAULT::seed. + Thu Oct 22 05:23:48 2015 KOSAKI Motohiro <kosaki.motohiro@gmail.com> * random.c (init_hashseed, init_siphash): extract initialize |