Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 70900431FC0 for ; Fri, 27 Nov 2009 21:58:04 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GytYZtj1GESV for ; Fri, 27 Nov 2009 21:58:03 -0800 (PST) Received: from mail-yx0-f187.google.com (mail-yx0-f187.google.com [209.85.210.187]) by olra.theworths.org (Postfix) with ESMTP id BF148431FAE for ; Fri, 27 Nov 2009 21:58:03 -0800 (PST) Received: by yxe17 with SMTP id 17so2107793yxe.33 for ; Fri, 27 Nov 2009 21:58:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.91.141.6 with SMTP id t6mr2828781agn.49.1259387882504; Fri, 27 Nov 2009 21:58:02 -0800 (PST) In-Reply-To: <878wdrtde3.fsf@yoom.home.cworth.org> References: <1258851430-28732-1-git-send-email-chris@chris-wilson.co.uk> <87einkqeyt.fsf@yoom.home.cworth.org> <1259329997-sup-2634@broadwater.alporthouse.com> <878wdrtde3.fsf@yoom.home.cworth.org> Date: Fri, 27 Nov 2009 23:58:02 -0600 Message-ID: <935ead450911272158h56c68382v7b8f479cf9fa8256@mail.gmail.com> From: Jeffrey Ollie To: Carl Worth Content-Type: text/plain; charset=UTF-8 Cc: notmuch Subject: Re: [notmuch] [PATCH] notmuch-new: Eliminate tallocs whilst construct filenames. X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 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: Sat, 28 Nov 2009 05:58:04 -0000 On Fri, Nov 27, 2009 at 11:41 PM, Carl Worth wrote: > > But yes, we need a test suite. I have zero experience, but Check[1] looks interesting. > Oh, and we'll also need to deal with remaining glib usage inside of > notmuch, (and inside of GMime as well), before we can do good testing > for memory-fault injection. Maybe what we'll end up with is a patch to > de-glib-ify GMime? I'm not sure. Rather than de-glib-ify'ing GMime wouldn't it be better to find a non glib-based library for MIME processing? I do most of my development in Python these days so I don't know of any examples. My googling turned up several C++ libraries or c-client and I wouldn't want to go down either of those paths. [1] http://check.sourceforge.net/ -- Jeff Ollie