summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorMau Magnaguagno <maumagnaguagno@gmail.com>2023-03-16 13:31:40 -0300
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-23 17:18:49 +0900
commit069640d3558022913ef164e2b73ef477b8f89a79 (patch)
treef3e03fbc64ee0cc63781546bf6cf150c6efed927 /test/ruby
parenta9fd1860dd30fff3b6e5ad0d65801f8188019325 (diff)
Avoid intermediate array in TarHeader#calculate_checksum
String#sum(0) sums the character bytes without a modulo. Follow-up of #6476 based on comment from @nobu.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/7582
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions