← Commit list

334dc65c9

Glenn L McGrath
Glenn L McGrath
2003-12-22
FAILED Duration: 136s

Subject

Fix a bug of mine where extracting files to stdout would extract to much, modified patch from Bastian Blank

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

archival/libunarchive/data_extract_to_stdout.c+1 -1
@@ -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);
}