From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id A21B86DE0314 for ; Sun, 21 May 2017 05:48:38 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[AWL=0.010, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qU6hDUISYAD4 for ; Sun, 21 May 2017 05:48:36 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id E5AEB6DE00C6 for ; Sun, 21 May 2017 05:48:35 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.84_2) (envelope-from ) id 1dCQGo-0003y6-6O; Sun, 21 May 2017 08:47:38 -0400 Received: (nullmailer pid 26661 invoked by uid 1000); Sun, 21 May 2017 12:48:31 -0000 From: David Bremner To: notmuch@notmuchmail.org, notmuch@freelists.org Subject: gmime 3.0 related preliminaries Date: Sun, 21 May 2017 09:48:16 -0300 Message-Id: <20170521124821.23924-1-david@tethera.net> X-Mailer: git-send-email 2.11.0 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2017 12:48:38 -0000 I've been working away on porting to gmime 3.0 [1]; currently more than 50 tests fail, at least some of which due to [2]. I've also found a few bugs in notmuch: We currently use GmimeFileStream to output to stdout, but this assumes the underlying file descriptor is seekable; the seek errors are masked in gmime 2.6 but not in gmime 3.0 [PATCH 1/5] util: convenience function to create gmime stream for [PATCH 2/5] cli/reply: direct all output for text format to gmime [PATCH 3/5] cli/show: use single stream for printf / gmime object There is also memory leak in notmuch reply; because notmuch-reply doesn't run for a long time, the practical impact is low. The first patch is just so we have some way of verifying the fix. It seems a bit heavy to start using valgrind in the main test suite. [1]: http://pivot.cs.unb.ca/git?p=notmuch.git;a=shortlog;h=refs/heads/gmime-3.0 [2]: https://bugzilla.gnome.org/show_bug.cgi?id=782915