Infelicity in manual bundled with bzip2 1.0.9
Mark Wielaard
mark@klomp.org
Sun May 17 13:46:35 GMT 2020
Hi Vanessa,
On Sat, Jan 18, 2020 at 02:35:15PM -0600, Vanessa McHale wrote:
> According to the PDF manual (page 17), BZ2_bzDecompress can return one
> of BZ_PARAM_ERROR, BZ_DATA_ERROR, BZ_DATA_ERROR_MAGIC, BZ_MEM_ERROR,
> BZ_STREAM_END, or BZ_OK. However, in attempting to write bindings, I get
> BZ_SEQUENCE_ERROR as a return value!
>
> In fact, looking at the source code, (line 818 of bzlib.c), it returns
> BZ_SEQUENCE_ERROR.
You are right. I fixed it as attached.
Thanks,
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-manual.xml-Add-BZ_SEQUENCE_ERROR-to-return-values-of.patch
Type: text/x-diff
Size: 864 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/bzip2-devel/attachments/20200517/ba719cec/attachment.bin>
More information about the Bzip2-devel
mailing list