diff options
author | shirosaki <shirosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-09-13 13:01:23 +0000 |
---|---|---|
committer | shirosaki <shirosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-09-13 13:01:23 +0000 |
commit | 3207af4cb841872176ad0ba5cc62f868b83ee769 (patch) | |
tree | f3f6b5428711fc2d9101f66f506538f20fede6be /ChangeLog | |
parent | 92300037ad5f8817bd364594d3d5bc55e3190ae7 (diff) | |
download | ruby-3207af4cb841872176ad0ba5cc62f868b83ee769.tar.gz |
lib/securerandom.rb: fix errors on Windows
* lib/securerandom.rb (SecureRandom.random_bytes):
Use 64bit value as pointer for Windows x64 to fix SystemCallError.
* lib/securerandom.rb (SecureRandom.lastWin32ErrorMessage):
Set proper encoding to avoid invalid byte sequence error.
[ruby-core:47451] [Bug #6990]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +Thu Sep 13 21:40:49 2012 Hiroshi Shirosaki <h.shirosaki@gmail.com> + + * lib/securerandom.rb (SecureRandom.random_bytes): + Use 64bit value as pointer for Windows x64 to fix SystemCallError. + + * lib/securerandom.rb (SecureRandom.lastWin32ErrorMessage): + Set proper encoding to avoid invalid byte sequence error. + [ruby-core:47451] [Bug #6990] + Thu Sep 13 11:20:00 2012 Zachary Scott <zzak@ruby-lang.org> * lib/optparse.rb: Remove unreachable email address from documentation |