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 E1763429E32 for ; Tue, 28 Jun 2011 12:46:03 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.29 X-Spam-Level: X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 xUuqzaOSCCl1 for ; Tue, 28 Jun 2011 12:45:59 -0700 (PDT) Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id B882F429E2A for ; Tue, 28 Jun 2011 12:45:59 -0700 (PDT) Received: from convex-new.cs.unb.ca ([131.202.13.41]) by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id p5SJjucW000473; Tue, 28 Jun 2011 16:45:56 -0300 Received: from bremner by convex-new.cs.unb.ca with local (Exim 4.72) (envelope-from ) id 1QbeEO-00033W-7m; Tue, 28 Jun 2011 16:45:56 -0300 From: David Bremner To: Carl Worth , notmuch@notmuchmail.org Subject: Re: [PATCH] libnotmuch: build symbols list without relying on gcc -aux-info. In-Reply-To: <87iprpaibc.fsf@yoom.home.cworth.org> References: <1309136932-21910-1-git-send-email-david@tethera.net> <1309142545-30590-1-git-send-email-david@tethera.net> <87iprpaibc.fsf@yoom.home.cworth.org> User-Agent: Notmuch/0.6~238 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Tue, 28 Jun 2011 16:45:48 -0300 Message-ID: <87fwmtvixf.fsf@convex-new.cs.unb.ca> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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: Tue, 28 Jun 2011 19:46:04 -0000 --=-=-= On Tue, 28 Jun 2011 12:04:39 -0700, Carl Worth wrote: > I assume by "better" you mean that this one is less fragile to issues > like the precise formatting of our notmuch.h header file. Yes, that's what I meant. > Meanwhile, though, our API *is* declared in the header file, (that's > what the header file exists for), so I do prefer to base our symbol list > on it. Sure, that makes sense to me. I cherry-picked the sed patch to the release branch. > In fact, the ideal would probably be to take the objdump method and use > it in the test suite to verify that its output matches the contents of > notmuch.sym generated from the header file. The second patch being turned into a test sounds like a great idea. I can do that. d --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iJwEAQECAAYFAk4KL20ACgkQTiiN/0Um85lc/AQAocfF4AJ4TFxunk9tn/adG7mi XthxmePUKl18cNnHdU35eKtSU1WsulfQevEsnwHA+1iwjgpfMSZnG/1DkrBBZB2L PQJu2EfYGbD/jJJDJPudAUUi/6eERIIvawG+7pcx/CHt3qwLvQCqTUiX44LfjuyM 5Pi7t3NTXt2yOk0bXmg= =BZDx -----END PGP SIGNATURE----- --=-=-=--