Project

General

Profile

« Previous | Next » 

Revision b0e40509

Added by Eregon (Benoit Daloze) over 11 years ago

set encoding to ASCII for appropriate String#unpack modifiers

  • pack.c (pack_unpack): set encoding of the
    'H','h','B' and 'B' modifiers to US-ASCII.
  • test/ruby/test_pack.rb: tests for the above.
    [ruby-core:47653][Bug #7050]
  • test/test_securerandom.rb: tests for SecureRandom.hex
    from tenderlove. [ruby-core:46792][Bug #6799]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e