]> git.ipfire.org Git - thirdparty/zstd.git/commit
fix fileio progression status update
authorYann Collet <cyan@fb.com>
Wed, 17 Jan 2018 01:35:00 +0000 (17:35 -0800)
committerYann Collet <cyan@fb.com>
Wed, 17 Jan 2018 01:35:00 +0000 (17:35 -0800)
commit3e1e57db2775c49595b483e22589eb2e20015b14
tree0b13bbff9beda652caa4850aa11418a064254387
parent10c213761ac8714bfa9b9e6cf70648ec458308e8
fix fileio progression status update

The compression % is no longer correct,
since it's no longer possible to make direct correlation
between nb bytes read and nb bytes written
due to large internal buffer inside CCtx
(exacerbated with --long).

The current "fix" is to no longer display the %.

A more complex solution will have to count exactly how much data has been consumed and compressed internally, within CCtx buffers.
programs/fileio.c