Fix a bug of mine where extracting files to stdout would extract to much, modified patch from Bastian Blank
No binary (build failed)
—
(log yok)
| @@ -18,5 +18,5 @@ | |
| extern void data_extract_to_stdout(archive_handle_t *archive_handle) | |
| { | |
| - | bb_copyfd_eof(archive_handle->src_fd, fileno(stdout)); |
| + | bb_copyfd_size(archive_handle->src_fd, fileno(stdout), archive_handle->file_header->size); |
| } | |