On Fri, Apr 10 2020, Olivier Taïbi wrote:
> the following diff addresses 3 zlib-related bugs in notmuch.
> 3) in gz_getline(), if gz_error sets its second argument to Z_STREAM_END
>then there was no error (only EOF). Unfortunately the zlib manual is
>not very clear on the meaning of Z_ST
Olivier Taïbi writes:
Thanks for the mail. In general we need each change in a separate patch
for review. Being zlib related is not really close enough for us.
> the following diff addresses 3 zlib-related bugs in notmuch.
> 1) the second argument of gzerror() cannot be NULL, so replace it by a
the following diff addresses 3 zlib-related bugs in notmuch.
1) the second argument of gzerror() cannot be NULL, so replace it by a dummy
&errnum.
2) gzerror() cannot be closed after gzclosed(), so just print the error value
instead.
3) in gz_getline(), if gz_error sets its second argument to