mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-01-09 18:10:21 +01:00
Disable output when it's not known. More endian fixes.
This commit is contained in:
parent
f87528d14d
commit
77d44ce108
|
|
@ -190,8 +190,8 @@ struct rzip_control {
|
|||
i64 max_mmap;
|
||||
int threads;
|
||||
int nice_val; // added for consistency
|
||||
int major_version;
|
||||
int minor_version;
|
||||
char major_version;
|
||||
char minor_version;
|
||||
i64 st_size;
|
||||
long page_size;
|
||||
int fd_in;
|
||||
|
|
|
|||
3
runzip.c
3
runzip.c
|
|
@ -359,7 +359,8 @@ i64 runzip_fd(rzip_control *control, int fd_in, int fd_out, int fd_hist, i64 exp
|
|||
} while (total < expected_size || (!expected_size && !control->eof));
|
||||
|
||||
gettimeofday(&end,NULL);
|
||||
print_progress("\nAverage DeCompression Speed: %6.3fMB/s\n",
|
||||
if (!ENCRYPT)
|
||||
print_progress("\nAverage DeCompression Speed: %6.3fMB/s\n",
|
||||
(total / 1024 / 1024) / (double)((end.tv_sec-start.tv_sec)? : 1));
|
||||
|
||||
if (!NO_MD5) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue