mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-04 13:57:40 +00:00
Ignore the eof flag if the file size is known.
This commit is contained in:
parent
b17540d32e
commit
f2ddd9022c
3 changed files with 3 additions and 5 deletions
2
stream.c
2
stream.c
|
|
@ -962,7 +962,7 @@ void *open_stream_in(rzip_control *control, int f, int n)
|
|||
|
||||
if (control->major_version == 0 && control->minor_version > 5) {
|
||||
/* Read in flag that tells us if there are more chunks after
|
||||
* this */
|
||||
* this. Ignored if we know the final file size */
|
||||
if (unlikely(read_u8(f, &control->eof))) {
|
||||
print_err("Failed to read eof flag in open_stream_in\n");
|
||||
goto failed;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue