From e99581771f05064a0636c4cf403d3024d025e793 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Sat, 17 Mar 2012 17:41:26 +0100 Subject: [PATCH] Fix error reporting in notmuch_database_find_message_by_filename --- 9a/a221b7383dbde6fd7210c6f77de8f6f827dd7f | 66 +++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 9a/a221b7383dbde6fd7210c6f77de8f6f827dd7f diff --git a/9a/a221b7383dbde6fd7210c6f77de8f6f827dd7f b/9a/a221b7383dbde6fd7210c6f77de8f6f827dd7f new file mode 100644 index 000000000..e487ca85c --- /dev/null +++ b/9a/a221b7383dbde6fd7210c6f77de8f6f827dd7f @@ -0,0 +1,66 @@ +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 1EE49431FAF + for ; Sat, 17 Mar 2012 09:42:44 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 L3qyPUuZ5-xX for ; + Sat, 17 Mar 2012 09:42:43 -0700 (PDT) +Received: from mail.cryptobitch.de (cryptobitch.de [88.198.7.68]) + (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 7E0A2431FAE + for ; Sat, 17 Mar 2012 09:42:43 -0700 (PDT) +Received: from mail.jade-hamburg.de (unknown [85.183.11.228]) + (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by mail.cryptobitch.de (Postfix) with ESMTPSA id B6138329F4B + for ; Sat, 17 Mar 2012 17:42:41 +0100 (CET) +Received: by mail.jade-hamburg.de (Postfix, from userid 401) + id 17180DF2A3; Sat, 17 Mar 2012 17:42:41 +0100 (CET) +Received: from thinkbox.jade-hamburg.de (unknown [10.1.1.153]) + (using TLSv1 with cipher AES256-SHA (256/256 bits)) + (No client certificate requested) (Authenticated sender: teythoon) + by mail.jade-hamburg.de (Postfix) with ESMTPSA id 5138ADF2A0 + for ; Sat, 17 Mar 2012 17:42:40 +0100 (CET) +Received: from teythoon by thinkbox.jade-hamburg.de with local (Exim 4.77) + (envelope-from ) + id 1S8whD-0008Rr-T7 + for notmuch@notmuchmail.org; Sat, 17 Mar 2012 17:41:35 +0100 +From: Justus Winter <4winter@informatik.uni-hamburg.de> +To: notmuch@notmuchmail.org +Subject: Fix error reporting in notmuch_database_find_message_by_filename +Date: Sat, 17 Mar 2012 17:41:26 +0100 +Message-Id: + <1332002487-32411-1-git-send-email-4winter@informatik.uni-hamburg.de> +X-Mailer: git-send-email 1.7.9.1 +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, 17 Mar 2012 16:42:44 -0000 + +while valgrinding a crashing python process I noticed that the error +handling in notmuch_database_find_message_by_filename does not work as +advertised in the documentation. + +I'd love to see this in the 0.12 release ;) + +Justus + -- 2.26.2