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 2DDDF429E28 for ; Sat, 16 Jul 2011 11:32:54 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 SRGHjhL0mpzQ for ; Sat, 16 Jul 2011 11:32:53 -0700 (PDT) Received: from dmz-mailsec-scanner-2.mit.edu (DMZ-MAILSEC-SCANNER-2.MIT.EDU [18.9.25.13]) by olra.theworths.org (Postfix) with ESMTP id B0096431FB6 for ; Sat, 16 Jul 2011 11:32:53 -0700 (PDT) X-AuditID: 1209190d-b7bdeae0000004f8-ff-4e21d8fb4775 Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) by dmz-mailsec-scanner-2.mit.edu (Symantec Messaging Gateway) with SMTP id F0.77.01272.BF8D12E4; Sat, 16 Jul 2011 14:31:23 -0400 (EDT) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id p6GIWq24009500; Sat, 16 Jul 2011 14:32:53 -0400 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id p6GIWlsH000095 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Sat, 16 Jul 2011 14:32:48 -0400 (EDT) Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.72) (envelope-from ) id 1Qi9fI-0001lM-Kz; Sat, 16 Jul 2011 14:32:36 -0400 Date: Sat, 16 Jul 2011 14:32:36 -0400 From: Austin Clements To: Felipe Contreras Subject: Re: [PATCH 1/3] lib: Kill last usage of C++ type bool Message-ID: <20110716181608.GL25558@mit.edu> References: <1310479190-6973-1-git-send-email-l.rilling@av7.net> <1310479190-6973-2-git-send-email-l.rilling@av7.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrLKsWRmVeSWpSXmKPExsUixG6nrvv7hqKfwdt+cYubP+ewWRx8nGdx vuUVi8X1mzOZHVg87q5bx+6xe/MDFo+ds+6yezxbdYs5gCWKyyYlNSezLLVI3y6BK2P1solM BWvZKtZPOcTawNjB2sXIySEhYCIx68ARZghbTOLCvfVsXYxcHEIC+xglDh76yQzhbGCUuDOt Fco5ySTR+XIxO4SzhFFi9qJGsH4WAVWJWQ/Ws4PYbAIaEtv2L2cEsUUEDCX2tk9l6WLk4GAW SJfYui4fJCwsYCdx+N5asDCvgI7Ev4/8IGGwzc/Wa4HYvAKCEidnPmEBsZmBSnZuvcMGMUVa Yvk/DoiwvETz1tlgB3AKBEp8fHIV7DFRARWJa/vb2SYwCs9CMmkWkkmzECbNQjJpASPLKkbZ lNwq3dzEzJzi1GTd4uTEvLzUIl0jvdzMEr3UlNJNjKBY4ZTk3cH47qDSIUYBDkYlHt6H+xT9 hFgTy4orcw8xSnIwKYny7rgOFOJLyk+pzEgszogvKs1JLT7EKMHBrCTCu6QEKMebklhZlVqU D5OS5mBREudV8/7vKySQnliSmp2aWpBaBJOV4eBQkuBVAaYEIcGi1PTUirTMnBKENBMHJ8hw HqDhJSA1vMUFibnFmekQ+VOMilLivOkgCQGQREZpHlwvLJW9YhQHekWYNx+kigeYBuG6XwEN ZgIa3K4LNrgkESEl1cC42kjeesaChq85B4QUp6uIMihzG014qq4+jXkFz2a2qOUPlof4LG9S /bEsRXbDw3ZR73I/7aRP6x9+nFHFtWtS+bRj7rueflVyf3x5i29tRefHuFk+H67xBf+3F9Zu +Tfx4KpLmz41W70pqNn9MMc536p+/nLN8xf636R98zvUUXZ3Q8uPn2aCSizFGYmGWsxFxYkA 5Cwm0EADAAA= Cc: notmuch@notmuchmail.org 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: Sat, 16 Jul 2011 18:32:54 -0000 Quoth Felipe Contreras on Jul 16 at 9:06 pm: > On Tue, Jul 12, 2011 at 4:59 PM, Louis Rilling wrote: > > Signed-off-by: Louis Rilling > > --- > >  lib/message.cc |   12 ++++++------ > >  1 files changed, 6 insertions(+), 6 deletions(-) > > > > diff --git a/lib/message.cc b/lib/message.cc > > index d993cde..cf651e5 100644 > > --- a/lib/message.cc > > +++ b/lib/message.cc > > @@ -49,16 +49,16 @@ struct visible _notmuch_message { > >  struct maildir_flag_tag { > >     char flag; > >     const char *tag; > > -    bool inverse; > > +    notmuch_bool_t inverse; > > That's not C++, that's C99. Here it's C++. But what's actually interesting is that this is the only place where libnotmuch strays from completely consistent use of notmuch_bool_t.