On Apr  8 15:43, Jon TURNEY wrote:
> archive_tar_file::read() currently considers any short read an error.
> 
> These can now occur if the underlying bz2 compressed io_stream starts a
> new compression stream in the middle of the read
> 
> It also transparently reads to the next 512-byte block in the parent
> io_stream after reading all the data expected for a file.
> 
> Teach it to do things correctly, even if a short read occurs.
> 
> 2011-04-08  Jon TURNEY  <...>
>
>       * archive_tar_file.cc (read): Handle short reads

Same here.  I guess it goes without saying that you tested it...


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Reply via email to