From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 1ABA7429E21 for ; Mon, 3 Oct 2011 13:40:18 -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 G9xLFOfmqJ7k for ; Mon, 3 Oct 2011 13:40:17 -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 5F68F431FB6 for ; Mon, 3 Oct 2011 13:40:17 -0700 (PDT) Received: by bkbzt12 with SMTP id zt12so6679021bkb.26 for ; Mon, 03 Oct 2011 13:40: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=GSHKdJyDXPcR0qaFMDrLDPu1L9dIQUsRpVf6sS2T9H0=; b=WyHv74zMAdfOOagRSb5enHVLn9F5Cu6R/rhIDX2AMEEAQkUTAImoH3xGL4DhzHL/I1 gYDL4QP1hyQsFeHEYmV/xGgjqUWFZGpG3AeP8dQ01RcId80nYwl0xG1uLWWFsYZUauPb Kbrlb+AopM89JS6bDQFfz1ojMnl7F7qBj3LVg= Received: by 10.223.97.220 with SMTP id m28mr505646fan.20.1317674414551; Mon, 03 Oct 2011 13:40:14 -0700 (PDT) Received: from localhost ([85.104.4.184]) by mx.google.com with ESMTPS id j5sm22597818fac.25.2011.10.03.13.40.13 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 03 Oct 2011 13:40:14 -0700 (PDT) From: Ali Polatel To: Austin Clements Subject: [PATCH v2 0/2] Better error handling Date: Mon, 3 Oct 2011 23:40:13 +0300 Message-Id: X-Mailer: git-send-email 1.7.6.1 In-Reply-To: <20111003203837.GA22365@hayalet> References: <20111003203837.GA22365@hayalet> Organization: Pink Floyd Cc: Ali Polatel , Notmuch Mailing List 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: Mon, 03 Oct 2011 20:40:18 -0000 From: Ali Polatel New set of patches addressing the issues in the mail "id:20111003174308.GD17905@mit.edu" Ali Polatel (2): lib: destroy message object after message removal lib: make find_message{,by_filename) report errors lib/database.cc | 95 +++++++++++++++++++++++++++++++++++----------------- lib/message.cc | 8 +++-- lib/notmuch.h | 60 +++++++++++++++++++++++---------- notmuch-new.c | 4 ++- notmuch-restore.c | 11 ++++-- 5 files changed, 120 insertions(+), 58 deletions(-) -- 1.7.6.1