bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] problem with sys_drain_input_pipe() removal


From: Mike Frysinger
Subject: Re: [Bug-tar] problem with sys_drain_input_pipe() removal
Date: Mon, 29 Dec 2008 06:49:42 -0500
User-agent: KMail/1.10.3 (Linux/2.6.28; KDE/4.1.3; x86_64; ; )

On Monday 29 December 2008 06:40:24 Sergey Poznyakoff wrote:
> Mike Frysinger <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]