diff options
| author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-15 03:05:23 +0000 |
|---|---|---|
| committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-15 03:05:23 +0000 |
| commit | b03e3cc5bf1e08cf1f92202e7339bf9e1885686b (patch) | |
| tree | 80581282c09863cf3398897582ccef47c4905e0c /test/ruby/test_time.rb | |
| parent | 94ed480cdc467baf94dd2071e94421b22061168a (diff) | |
* backport r32546 from trunk.
* ext/digest/sha2/sha2.c (SHA256_Update, SHA512_Update): avoid Bus
Error caused by unalignment access on Sparc-Solaris (and possibly on
other similar environment.) This patch just do memcpy always instead
of checking architecture. I see no perf drop on my 64bit env. For
more details, see #4320.
* test/digest/test_digest.rb: add test for unalignment access.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_time.rb')
0 files changed, 0 insertions, 0 deletions
