Fix a bug of mine where extracting files to stdout would extract to
much, modified patch from Bastian Blank
This commit is contained in:
parent
a120c32cfa
commit
334dc65c92
@ -18,5 +18,5 @@
|
|||||||
|
|
||||||
extern void data_extract_to_stdout(archive_handle_t *archive_handle)
|
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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user