[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: shouldn't tar quit at end of archive?
From:       Rich Felker <dalias () aerifal ! cx>
Date:       2006-03-31 22:45:44
Message-ID: 20060331224544.GN10840 () brightrain ! aerifal ! cx
[Download RAW message or body]

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


_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic