Seems to me that the implementation is seriously flawed, it decompress the whole file into the heap and then print it out.

The correct behavior is to decompress a stream into the heap, print it, free the memory and advance to next stream.

Consider the use of it 'zcat fw.bin.gz | flashcp - /dev/mtd3' which could be used on devices with low memory for firmware upgrade, alas in busybox's case that is not possible.

//M

Sent from my BlackBerry — the most secure mobile device
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to