mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Fix for lrzip -i. Decompressed size wrong
This commit is contained in:
parent
2c151a0d1b
commit
70c87cbc62
|
|
@ -1,5 +1,10 @@
|
||||||
lrzip ChangeLog
|
lrzip ChangeLog
|
||||||
|
|
||||||
|
DECEMBER 2014, version 0.617 Peter Hyman
|
||||||
|
|
||||||
|
* Fix display of lrzip -i output so that source filesize is reported
|
||||||
|
properly when larger than one chunk.
|
||||||
|
|
||||||
SEPTEMBER 2013, version 0.616 George Makrydakis
|
SEPTEMBER 2013, version 0.616 George Makrydakis
|
||||||
|
|
||||||
* Making things more homogeneous in checks, some space removed.
|
* Making things more homogeneous in checks, some space removed.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
lrzip-0.617
|
||||||
|
|
||||||
|
Fixes display output of lrzip -i for large files greater than one chunk.
|
||||||
|
|
||||||
lrzip-0.616
|
lrzip-0.616
|
||||||
|
|
||||||
Fixes for various issues with -O not working with trailing slashes and
|
Fixes for various issues with -O not working with trailing slashes and
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
|
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
|
||||||
m4_define([v_maj], [0])
|
m4_define([v_maj], [0])
|
||||||
m4_define([v_min], [6])
|
m4_define([v_min], [6])
|
||||||
m4_define([v_mic], [16])
|
m4_define([v_mic], [17])
|
||||||
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
|
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
|
||||||
m4_define([v_v], m4_join([], v_min, v_mic))
|
m4_define([v_v], m4_join([], v_min, v_mic))
|
||||||
m4_define([v_ver], [v_maj.v_v])
|
m4_define([v_ver], [v_maj.v_v])
|
||||||
|
|
|
||||||
2
lrzip.c
2
lrzip.c
|
|
@ -1034,8 +1034,6 @@ next_chunk:
|
||||||
done:
|
done:
|
||||||
if (unlikely(ofs > infile_size))
|
if (unlikely(ofs > infile_size))
|
||||||
failure_goto(("Offset greater than archive size, likely corrupted/truncated archive.\n"), error);
|
failure_goto(("Offset greater than archive size, likely corrupted/truncated archive.\n"), error);
|
||||||
if (chunk_total > expected_size)
|
|
||||||
expected_size = chunk_total;
|
|
||||||
print_verbose("Rzip compression: %.1f%% %lld / %lld\n",
|
print_verbose("Rzip compression: %.1f%% %lld / %lld\n",
|
||||||
percentage (utotal, expected_size),
|
percentage (utotal, expected_size),
|
||||||
utotal, expected_size);
|
utotal, expected_size);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue