From: David Bremner Date: Sun, 24 Mar 2019 03:32:43 +0000 (-0300) Subject: lib/message_file: open gzipped files X-Git-Tag: archive/debian/0.29_rc0-1~71 X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;ds=sidebyside;h=852167479f552cd396b1fdcbe9b1cb4db40e5e0a;hp=852167479f552cd396b1fdcbe9b1cb4db40e5e0a;p=notmuch lib/message_file: open gzipped files Rather than storing the lower level stdio FILE object, we store a GMime stream. This allows both transparent decompression, and passing the stream into GMime for parsing. As a side effect, we can let GMime close the underlying OS stream (indeed, that stream isn't visible here anymore). This change is enough to get notmuch-{new,search} working, but there is still some work required for notmuch-show, to be done in a following commit. ---