diff options
| author | Aaron Patterson <tenderlove@ruby-lang.org> | 2025-09-12 16:29:51 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-09-16 17:17:32 +0900 |
| commit | a71b339477a291a93fc9f83266eaad3423df6acc (patch) | |
| tree | 68e133c3d15f61ceb7c7caffc05a055ac192bf28 /test | |
| parent | ca9c0f91311e01625e10272798ff2cc831bbee60 (diff) | |
[rubygems/rubygems] Pass the file size to IO.copy_stream
When extracting tar files, the tar header actually knows the exact size
of the file we need to extract. Before this commit, we would read the
file from the tar file until it returned `nil`. We can be a little more
efficient when copying by passing the size to copy_stream
https://github.com/rubygems/rubygems/commit/8927533b0a
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
