summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-02-11 20:20:51 +0100
committerWolfgang Denk <wd@denx.de>2011-02-15 21:46:39 +0100
commit67fb0622a95b6b6ac7931631fbc021c946ff30ca (patch)
tree031147640e0fa14386fc92040188008e4c35e586 /examples
parentcc22b795fb5fee72bd567eec5d33a11e8b989086 (diff)
downloadu-boot-imx-67fb0622a95b6b6ac7931631fbc021c946ff30ca.zip
u-boot-imx-67fb0622a95b6b6ac7931631fbc021c946ff30ca.tar.gz
u-boot-imx-67fb0622a95b6b6ac7931631fbc021c946ff30ca.tar.bz2
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>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions