unzip: return uncompressed size in `filesize', and print it.
authorWolfgang Denk <wd@denx.de>
Fri, 11 Feb 2011 19:20:51 +0000 (20:20 +0100)
committerWolfgang Denk <wd@denx.de>
Tue, 15 Feb 2011 20:46:39 +0000 (21:46 +0100)
commit67fb0622a95b6b6ac7931631fbc021c946ff30ca
tree031147640e0fa14386fc92040188008e4c35e586
parentcc22b795fb5fee72bd567eec5d33a11e8b989086
unzip: return uncompressed size in `filesize', and print it.

The unzip command did not provide a way for the caller to get any
information about the uncompressed size.  To make it better usable in
scripts, we now store the uncompressed size in the `filesize'
variable, like we do when for example loading a file over the network
or when reading it from a file system.  Following that analogy, it is
only consequent to also print the size.

Signed-off-by: Wolfgang Denk <wd@denx.de>
common/cmd_mem.c