shouldn't tar quit at end of archive?

Rich Felker dalias at aerifal.cx
Fri Mar 31 14:45:44 PST 2006


On Sat, Apr 01, 2006 at 10:33:36AM +1200, Glenn L. McGrath wrote:
> Currently open_transformer() expects the decomrpession process to exit
> normally, if the decompressor couldnt finish writing its data into the
> pipe there are 2 problems
> 1) we would have to kill the process ourselves.
> 2) the decompressor wouldnt see the checksum or bytecount as tar has
> not allowed it finish decompressing.

Solution seems simple to me: loop reading junk if and only if the
input is a decompressor. Otherwise just exit.

Rich




More information about the busybox mailing list