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 314B8431FB6 for ; Thu, 27 Jan 2011 03:08:57 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled 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 XNcMvfhImxRs for ; Thu, 27 Jan 2011 03:08:55 -0800 (PST) Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36]) by olra.theworths.org (Postfix) with ESMTP id 67814431FB5 for ; Thu, 27 Jan 2011 03:08:55 -0800 (PST) Received: from localhost (unknown [192.168.200.4]) by max.feld.cvut.cz (Postfix) with ESMTP id 5FF4319F32EE; Thu, 27 Jan 2011 12:08:54 +0100 (CET) X-Virus-Scanned: IMAP AMAVIS Received: from max.feld.cvut.cz ([192.168.200.1]) by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new, port 10044) with ESMTP id i9vhGpQIGlkH; Thu, 27 Jan 2011 12:08:52 +0100 (CET) Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34]) by max.feld.cvut.cz (Postfix) with ESMTP id D8FA419F3325; Thu, 27 Jan 2011 12:08:52 +0100 (CET) Received: from steelpick.2x.cz (note-sojka.felk.cvut.cz [147.32.86.30]) (Authenticated sender: sojkam1) by imap.feld.cvut.cz (Postfix) with ESMTPSA id D832B15C031; Thu, 27 Jan 2011 12:08:52 +0100 (CET) Received: from wsh by steelpick.2x.cz with local (Exim 4.72) (envelope-from ) id 1PiPie-0001JP-Eg; Thu, 27 Jan 2011 12:08:52 +0100 From: Michal Sojka To: Carl Worth , Thomas Schwinge , notmuch@notmuchmail.org Subject: Re: [PATCH 2/3] new: Add all initial tags at once In-Reply-To: <874o8uzulz.fsf@yoom.home.cworth.org> References: <1295603977-14326-1-git-send-email-sojkam1@fel.cvut.cz> <1295603977-14326-4-git-send-email-sojkam1@fel.cvut.cz> <87lj27vc7u.fsf@kepler.schwinge.homeip.net> <87ipxbym2y.fsf@yoom.home.cworth.org> <874o8uzulz.fsf@yoom.home.cworth.org> User-Agent: Notmuch/0.5-87-g9705d00 (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu) Date: Thu, 27 Jan 2011 12:08:52 +0100 Message-ID: <8762ta8uyj.fsf@steelpick.2x.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Rusty Russell X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Thu, 27 Jan 2011 11:08:57 -0000 On Thu, 27 Jan 2011, Carl Worth wrote: > On Thu, 27 Jan 2011 15:03:49 +1000, Carl Worth wrote: > > Just a few hours ago I attended an interesting talk by Rusty Russell in > > which he talks about a CCAN module he has written called failtest which > > provides an implementation of this kind of testing. > > I meant to include some links with the above. CCAN is here: > > http://ccan.ozlabs.org/ > > And the failtest module is here: > > http://ccan.ozlabs.org/info/failtest.html Yes, this looks interesting. We may also want to use GCC function attribute "__attribute__ ((warn_unused_result))" to get warnings when the returned value is not checked. -Michal