]> git.cworth.org Git - notmuch/commit
lib/cli: pass GMIME_ENABLE_RFC2047_WORKAROUNDS to g_mime_init()
authorJani Nikula <jani@nikula.org>
Wed, 11 Sep 2013 17:36:43 +0000 (20:36 +0300)
committerDavid Bremner <bremner@debian.org>
Sat, 14 Sep 2013 17:13:43 +0000 (14:13 -0300)
commit71521f06b00a01c5b0eaea5f5f624fe57ed7f426
tree3defd3edcef6eee7141fb88fbd9ec341d0d566b1
parent59e311d9af6cb6b5801a90cf87dcd18c8eac0853
lib/cli: pass GMIME_ENABLE_RFC2047_WORKAROUNDS to g_mime_init()

As explained by Jeffrey Stedfast, the author of GMime, quoted in [1]:

> Passing the GMIME_ENABLE_RFC2047_WORKAROUNDS flag to g_mime_init()
> *should* solve the decoding problem mentioned in the thread. This
> flag should be safe to pass into g_mime_init() without any bad side
> effects and my unit tests do test that code-path.

The thread being referred to is [2].

[1] id:87bo56viyo.fsf@nikula.org
[2] id:08cb1dcd-c5db-4e33-8b09-7730cb3d59a2@gmail.com
lib/database.cc
lib/index.cc
lib/message-file.c
notmuch.c
test/encoding