[ruby-cvs:62131] nobu:r54968 (trunk): random.c: use bytes

nobu at ruby-lang.org nobu at ruby-lang.org
Tue May 10 14:57:12 JST 2016


nobu	2016-05-10 14:57:11 +0900 (Tue, 10 May 2016)

  New Revision: 54968

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54968

  Log:
    random.c: use bytes
    
    * random.c (obj_random_bytes): base on bytes method instead of
      rand method, not to call toplevel rand method.

  Modified files:
    trunk/ChangeLog
    trunk/lib/securerandom.rb
    trunk/random.c
    trunk/test/ruby/test_rand.rb
    trunk/test/test_securerandom.rb


More information about the ruby-cvs mailing list