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 700F4429E21 for ; Mon, 3 Oct 2011 22:06:19 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 L3pLRh4PgXR9 for ; Mon, 3 Oct 2011 22:06:15 -0700 (PDT) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 8AB52431FB6 for ; Mon, 3 Oct 2011 22:06:15 -0700 (PDT) Received: by bkbzt12 with SMTP id zt12so224537bkb.26 for ; Mon, 03 Oct 2011 22:06:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :organization; bh=LiBDXXRCOFGIs7KTrBlhaVedSL6v4PNXsduq4pesDDU=; b=VP51zqqkBSiANqjNrer4eFua63NigMCpgqAlhLvuEbOC/DuIayj1b+QQETiRC6BJbZ EoHmMglvHyGKJnjlGEfu2YltWvyZ6lrQbr/P4RxpL19ENIRCy4qT6nYyfKw0DJH3o81m s41MSYL2OpP7HJi4iWivOrLf4KSVLA0Vxq3GM= Received: by 10.223.34.73 with SMTP id k9mr1120241fad.9.1317704774156; Mon, 03 Oct 2011 22:06:14 -0700 (PDT) Received: from localhost ([88.236.39.101]) by mx.google.com with ESMTPS id v17sm23986327fai.18.2011.10.03.22.06.13 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 03 Oct 2011 22:06:13 -0700 (PDT) From: Ali Polatel To: David Bremner Subject: [PATCH v3 0/2] Better error handling Date: Tue, 4 Oct 2011 08:06:07 +0300 Message-Id: X-Mailer: git-send-email 1.7.6.1 In-Reply-To: <20111004050046.GA6048@hayalet> References: <20111004050046.GA6048@hayalet> Organization: Pink Floyd Cc: Ali Polatel , Notmuch Mailing List , Austin Clements 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, 04 Oct 2011 05:06:20 -0000 From: Ali Polatel New set of patches addressing the issues in the mail "id:8739f9muhp.fsf@zancas.localnet" You may also find the commits in my notmuch repository: git://github.com/alip/notmuch.git branch: find_message-v3 Ali Polatel (2): lib: destroy message object after message removal lib: make find_message{,by_filename) report errors lib/database.cc | 98 ++++++++++++++++++++++++++++++++++++----------------- lib/message.cc | 8 +++-- lib/notmuch.h | 58 +++++++++++++++++++++---------- notmuch-new.c | 4 ++- notmuch-restore.c | 11 ++++-- 5 files changed, 122 insertions(+), 57 deletions(-) -- 1.7.6.1