Re: [PATCH v4 16/16] add "notmuch reindex" subcommand
[notmuch-archives.git] / 5f / 602be95dfa30987d80cace245443a1c70499ee
1 Return-Path: <lrilling@gmail.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 9CCE4429E2F\r
6         for <notmuch@notmuchmail.org>; Tue, 12 Jul 2011 07:00:16 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.699\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001,\r
13         RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id 4I79jk5t9a8R for <notmuch@notmuchmail.org>;\r
17         Tue, 12 Jul 2011 07:00:15 -0700 (PDT)\r
18 Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com\r
19         [209.85.215.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 1F6CE429E27\r
22         for <notmuch@notmuchmail.org>; Tue, 12 Jul 2011 07:00:15 -0700 (PDT)\r
23 Received: by mail-ey0-f181.google.com with SMTP id 5so1740488eyh.26\r
24         for <notmuch@notmuchmail.org>; Tue, 12 Jul 2011 07:00:14 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
26         h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to\r
27         :references; bh=nPZ4dPmHuBtrQCWUhMOY6YD4gi+2c566Wl6VS7TyvCM=;\r
28         b=H8j3o9fxZNXY7ieBA9z3U2gAq8Wq6F7KQiixFmteHg5ulIZe+MMcjpOUA+mGbcwGnZ\r
29         ByVUuq2zFEtH2Uagl1k85DEN15gIn/JkeUS5meqq71hT56VeFppLfQbwcj8+ocyfbqKo\r
30         3AZfuvvojEXDIEnX6FlzR2kVQN0IpVDqq3S6g=\r
31 Received: by 10.213.16.83 with SMTP id n19mr34523eba.66.1310479214677;\r
32         Tue, 12 Jul 2011 07:00:14 -0700 (PDT)\r
33 Received: from osdor.le-roi-du-couscous.fr ([78.222.14.116])\r
34         by mx.google.com with ESMTPS id z49sm1538190eef.33.2011.07.12.07.00.12\r
35         (version=SSLv3 cipher=OTHER); Tue, 12 Jul 2011 07:00:13 -0700 (PDT)\r
36 Sender: Louis Rilling <lrilling@gmail.com>\r
37 From: Louis Rilling <l.rilling@av7.net>\r
38 To: Carl Worth <cworth@cworth.org>\r
39 Subject: [PATCH 1/3] lib: Kill last usage of C++ type bool\r
40 Date: Tue, 12 Jul 2011 15:59:48 +0200\r
41 Message-Id: <1310479190-6973-2-git-send-email-l.rilling@av7.net>\r
42 X-Mailer: git-send-email 1.7.2.5\r
43 In-Reply-To: <1310479190-6973-1-git-send-email-l.rilling@av7.net>\r
44 References: <1310479190-6973-1-git-send-email-l.rilling@av7.net>\r
45 Cc: notmuch@notmuchmail.org, Austin Clements <amdragon@MIT.EDU>\r
46 X-BeenThere: notmuch@notmuchmail.org\r
47 X-Mailman-Version: 2.1.13\r
48 Precedence: list\r
49 List-Id: "Use and development of the notmuch mail system."\r
50         <notmuch.notmuchmail.org>\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
54 List-Post: <mailto:notmuch@notmuchmail.org>\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
58 X-List-Received-Date: Tue, 12 Jul 2011 14:00:16 -0000\r
59 \r
60 Signed-off-by: Louis Rilling <l.rilling@av7.net>\r
61 ---\r
62  lib/message.cc |   12 ++++++------\r
63  1 files changed, 6 insertions(+), 6 deletions(-)\r
64 \r
65 diff --git a/lib/message.cc b/lib/message.cc\r
66 index d993cde..cf651e5 100644\r
67 --- a/lib/message.cc\r
68 +++ b/lib/message.cc\r
69 @@ -49,16 +49,16 @@ struct visible _notmuch_message {\r
70  struct maildir_flag_tag {\r
71      char flag;\r
72      const char *tag;\r
73 -    bool inverse;\r
74 +    notmuch_bool_t inverse;\r
75  };\r
76  \r
77  /* ASCII ordered table of Maildir flags and associated tags */\r
78  static struct maildir_flag_tag flag2tag[] = {\r
79 -    { 'D', "draft",   false},\r
80 -    { 'F', "flagged", false},\r
81 -    { 'P', "passed",  false},\r
82 -    { 'R', "replied", false},\r
83 -    { 'S', "unread",  true }\r
84 +    { 'D', "draft",   FALSE},\r
85 +    { 'F', "flagged", FALSE},\r
86 +    { 'P', "passed",  FALSE},\r
87 +    { 'R', "replied", FALSE},\r
88 +    { 'S', "unread",  TRUE }\r
89  };\r
90  \r
91  /* We end up having to call the destructor explicitly because we had\r
92 -- \r
93 1.7.2.5\r
94 \r