[PATCH] lib: make find_message{,by_filename) report errors
authorAli Polatel <polatel@gmail.com>
Sat, 1 Oct 2011 08:12:23 +0000 (11:12 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:39:32 +0000 (09:39 -0800)
e8/3018bbce0a17b3e6cd0b69ce62b19d707a9e8c [new file with mode: 0644]

diff --git a/e8/3018bbce0a17b3e6cd0b69ce62b19d707a9e8c b/e8/3018bbce0a17b3e6cd0b69ce62b19d707a9e8c
new file mode 100644 (file)
index 0000000..f85978d
--- /dev/null
@@ -0,0 +1,86 @@
+Return-Path: <polatel@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 654D2429E25\r
+       for <notmuch@notmuchmail.org>; Sat,  1 Oct 2011 01:12:33 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id dLbLXXca97Xy for <notmuch@notmuchmail.org>;\r
+       Sat,  1 Oct 2011 01:12:33 -0700 (PDT)\r
+Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com\r
+       [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id B9BC2431FB6\r
+       for <notmuch@notmuchmail.org>; Sat,  1 Oct 2011 01:12:32 -0700 (PDT)\r
+Received: by bkbzt12 with SMTP id zt12so3139417bkb.26\r
+       for <notmuch@notmuchmail.org>; Sat, 01 Oct 2011 01:12:30 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
+       h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references\r
+       :organization:mime-version:content-type:content-transfer-encoding;\r
+       bh=kmCBPBxsQTQ4pohq9QirpunAU9YW3BzAjubekM5oJYM=;\r
+       b=YwYFxYw1fTI26R/L2iiyqaAUgIWic/E854GjGAmwI1GZa8LWSmRmn9KPT2d/AWOP2y\r
+       970JV7d/XCyD6aydWtoy4k/sYYlbo3IyvuL4hsWJuEvE4mbwNPlM4CLqpijbJY/Cwr8v\r
+       H7h78HCkOL29sOM5zCCMIceTezgf9JKdVfbK0=\r
+Received: by 10.223.39.91 with SMTP id f27mr1440526fae.26.1317456749953;\r
+       Sat, 01 Oct 2011 01:12:29 -0700 (PDT)\r
+Received: from localhost ([78.183.84.0])\r
+       by mx.google.com with ESMTPS id u6sm10390079fan.17.2011.10.01.01.12.28\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Sat, 01 Oct 2011 01:12:28 -0700 (PDT)\r
+From: Ali Polatel <polatel@gmail.com>\r
+To: Austin Clements <amdragon@MIT.EDU>\r
+Subject: [PATCH] lib: make find_message{,by_filename) report errors\r
+Date: Sat,  1 Oct 2011 11:12:23 +0300\r
+Message-Id: <cover.1317456435.git.alip@exherbo.org>\r
+X-Mailer: git-send-email 1.7.6.1\r
+In-Reply-To: <20110930064712.GA30012@hayalet>\r
+References: <20110930064712.GA30012@hayalet>\r
+Organization: Pink Floyd\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=UTF-8\r
+Content-Transfer-Encoding: 8bit\r
+Cc: Notmuch Mailing List <notmuch@notmuchmail.org>,\r
+       Ali Polatel <alip@exherbo.org>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 01 Oct 2011 08:12:33 -0000\r
+\r
+From: Ali Polatel <alip@exherbo.org>\r
+\r
+Looks like the patch did not make it correctly the first time.\r
+Resending using git-send-emailâ„¢\r
+\r
+You may also find the commit in my notmuch repository:\r
+git://github.com/alip/notmuch.git branch: find_message\r
+\r
+Ali Polatel (1):\r
+  lib: make find_message{,by_filename) report errors\r
+\r
+ lib/database.cc   |   89 ++++++++++++++++++++++++++++++++++------------------\r
+ lib/message.cc    |    6 ++--\r
+ lib/notmuch.h     |   61 +++++++++++++++++++++++++-----------\r
+ notmuch-new.c     |    4 ++-\r
+ notmuch-restore.c |   11 ++++--\r
+ 5 files changed, 114 insertions(+), 57 deletions(-)\r
+\r
+-- \r
+1.7.6.1\r
+\r