Re: Support gzipped message file

Subject: Re: Support gzipped message file

Date: Tue, 30 Apr 2019 14:41:59 -0300

To: notmuch@notmuchmail.org

Cc:

From: David Bremner


David Bremner <david@tethera.net> writes:

> David Bremner <david@tethera.net> writes:
>
>> This obsoletes the WIP series id:20190324033244.12909-2-david@tethera.net
>>
>> Compared to the WIP version, this has some general cleanup, and a
>> switch to using an open file descriptor to create a stream rather than
>> a FILE*.
>
> I have made two minor changes  in git
>
> diff --git a/test/T750-gzip.sh b/test/T740-gzip.sh
> similarity index 100%
> rename from test/T750-gzip.sh
> rename to test/T740-gzip.sh
> diff --git a/util/gmime-extra.c b/util/gmime-extra.c
> index e422fec3..b3f91c55 100644
> --- a/util/gmime-extra.c
> +++ b/util/gmime-extra.c
> @@ -26,8 +26,7 @@ _gzfile_maybe_filter (GMimeStream *file_stream) {
>  	if (! gzstream)
>  	    return NULL;
>  
> -	/* ignore filter id */
> -	(void)g_mime_stream_filter_add ((GMimeStreamFilter *)gzstream, gzfilter);
> +	g_mime_stream_filter_add ((GMimeStreamFilter *)gzstream, gzfilter);
>  	return gzstream;
>      } else {
>  	return file_stream;

That's a reversed diff, of course.
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: