On Monday 29 December 2008 06:40:24 Sergey Poznyakoff wrote:
> Mike Frysinger <[email protected]> ha escrit:
> > it is entirely possible for the compressor to exit abnormally at
> > locations in the  stream such that tar simply thinks there is nothing
> > left
>
> Yes, that's true. But the key word here is 'exit abnormally'. If the
> compressor exits abnormally, tar will always issue an error message and
> will exit abnormally as well.

the assumption made in the code is that if the decompressor exited with 
SIGPIPE, it was due to the pipe between the compressor and tar.  where is this 
guaranteed ?  what if a pipe is feeding the decompressor ?
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to