]> icculus.org git repositories - icculus/xz.git/commit
Show both elapsed time and estimated remaining time in xz -v.
authorLasse Collin <lasse.collin@tukaani.org>
Mon, 12 Apr 2010 18:55:56 +0000 (21:55 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Mon, 12 Apr 2010 18:55:56 +0000 (21:55 +0300)
commita290cfee3e23f046889c022aa96b4eca2016fdda
treeee4201c34e13154c9c9d785e11948b96e490684a
parenta1f7a986b8d708f9290da9799ca1b8d7082fad3e
Show both elapsed time and estimated remaining time in xz -v.

The extra space for showing both has been taken from the
sizes field. If the sizes grow big, bigger units than MiB
will be used. It makes it slightly difficult to see that
progress is still happening with huge files, but it should
be OK in practice.

Thanks to Trent W. Buck for <http://bugs.debian.org/574583>
and Jonathan Nieder for suggestions how to fix it.
THANKS
src/xz/message.c