Re: [PATCH] lib: constify arguments to notmuch_query_get_*
authorDavid Bremner <david@tethera.net>
Thu, 24 Sep 2015 10:39:09 +0000 (07:39 +2100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:49:36 +0000 (14:49 -0700)
11/8d2c21dc69b10db1fbb692058ee042e6f49960 [new file with mode: 0644]

diff --git a/11/8d2c21dc69b10db1fbb692058ee042e6f49960 b/11/8d2c21dc69b10db1fbb692058ee042e6f49960
new file mode 100644 (file)
index 0000000..b9ab010
--- /dev/null
@@ -0,0 +1,58 @@
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 75B056DE0C1E\r
+ for <notmuch@notmuchmail.org>; Thu, 24 Sep 2015 03:40:02 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.484\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.484 tagged_above=-999 required=5 tests=[AWL=-0.260,\r
+  URIBL_SBL=0.644, URIBL_SBL_A=0.1] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id hBJLQ94v3XLp for <notmuch@notmuchmail.org>;\r
+ Thu, 24 Sep 2015 03:40:00 -0700 (PDT)\r
+Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id B53D66DE0B7C\r
+ for <notmuch@notmuchmail.org>; Thu, 24 Sep 2015 03:40:00 -0700 (PDT)\r
+Received: from remotemail by gitolite.debian.net with local (Exim 4.80)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1Zf3w0-0006Gw-Da; Thu, 24 Sep 2015 10:39:28 +0000\r
+Received: (nullmailer pid 30256 invoked by uid 1000); Thu, 24 Sep 2015\r
+ 10:39:09 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] lib: constify arguments to notmuch_query_get_*\r
+In-Reply-To: <1443009554-26766-1-git-send-email-david@tethera.net>\r
+References: <1443009554-26766-1-git-send-email-david@tethera.net>\r
+User-Agent: Notmuch/0.20.2+73~gd432116 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Thu, 24 Sep 2015 07:39:09 -0300\r
+Message-ID: <87io702jaq.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 24 Sep 2015 10:40:02 -0000\r
+\r
+David Bremner <david@tethera.net> writes:\r
+\r
+> These functions are all just accessors, and it's pretty clear they don't\r
+> modify the query struct. This also fixes one warning I created when I\r
+> introduced status.\r
+\r
+pushed\r
+\r
+d\r