lzip-bug
[Top][All Lists]
Advanced

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

Re: [Lzip-bug] [lzlib] Help with Scheme bindings (for GNU Guix)


From: Pierre Neidhardt
Subject: Re: [Lzip-bug] [lzlib] Help with Scheme bindings (for GNU Guix)
Date: Wed, 24 Apr 2019 17:10:55 +0200

Hi again,

Antonio Diaz Diaz <address@hidden> writes:

> If you write incomplete data (maybe because the file is truncated), and 
> then call LZ_decompress_read until it returns 0 (without calling 
> LZ_(de)compress_finish nor reading until LZ_(de)compress_finished 
> returns 1), then the decompressed data produced will be also truncated. 
> No error is reported because the decoder is waiting more input.

And that's fine since the input is a stream, isn't it?
So when I'm done with the stream, all the data has been written/read,
then the compressed data will be complete, right?  Calling
LZ_(de)compress_finish then should not change anything, or will it?

Sorry if I seem to ask questions in circle, but there might be a
confusion here on my end.

-- 
Pierre Neidhardt
https://ambrevar.xyz/

Attachment: signature.asc
Description: PGP signature


reply via email to

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