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 AAFB2431FBF for ; Mon, 23 Nov 2009 12:57:08 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org 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 GdUUG5JkVOHl for ; Mon, 23 Nov 2009 12:57:08 -0800 (PST) Received: from mail-bw0-f210.google.com (mail-bw0-f210.google.com [209.85.218.210]) by olra.theworths.org (Postfix) with ESMTP id EB74A431FBC for ; Mon, 23 Nov 2009 12:57:07 -0800 (PST) Received: by bwz2 with SMTP id 2so5699357bwz.0 for ; Mon, 23 Nov 2009 12:57:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :date:message-id:x-mailer; bh=9PpHxd1LfMzb11zja6+7GbOb4z3MFYNtUOwkDiRi80o=; b=R2P8qzcd5CnD21CpGNGX9N+wxGnU3S5KXBMduFW0jHUZunBbQvUh2mwccOwfyIXPDm bpovIGcrkIgvZgwf5gA8r/QGD7Hr02YCIFXnmbp6c3Neutj/8/m01/JwjT4A0tCflGAQ s7YQqgHYlDNeU7C6rgl5ksY++sL3Say6iD1W0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:message-id:x-mailer; b=k+vPLKUptHdiE5bqRh6B339N+Jas66Hro/FUVi4w6L1EOanw3uHGMmF8e3BbJ5zviL CE6C6HvGe6OwGgmLJ6fa+8+JaESF3JiLc4OmN/Dwlfu0vn64HdRSPcEj8Rb87cdH6qwB KNTHcQ5bKiESXLhueA2haZSkS1uReCZGknBsg= Received: by 10.204.25.207 with SMTP id a15mr5262497bkc.8.1259009826861; Mon, 23 Nov 2009 12:57:06 -0800 (PST) Received: from localhost.localdomain (vawpc43.ethz.ch [129.132.59.11]) by mx.google.com with ESMTPS id f31sm6215494fkf.42.2009.11.23.12.57.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 23 Nov 2009 12:57:06 -0800 (PST) Sender: Jed Brown From: Jed Brown To: notmuch@notmuchmail.org Date: Mon, 23 Nov 2009 21:57:33 +0100 Message-Id: <1259009853-1634-1-git-send-email-jed@59A2.org> X-Mailer: git-send-email 1.6.5.3 Subject: [notmuch] [PATCH] Stay out of tmp to respect the Maildir spec. X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 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, 23 Nov 2009 20:57:08 -0000 --- notmuch-new.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/notmuch-new.c b/notmuch-new.c index 8172b49..e32b92a 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -159,6 +159,7 @@ add_files_recursive (notmuch_database_t *notmuch, * user specify files to be ignored. */ if (strcmp (entry->d_name, ".") == 0 || strcmp (entry->d_name, "..") == 0 || + strcmp (entry->d_name, "tmp") == 0 || strcmp (entry->d_name, ".notmuch") ==0) { continue; -- 1.6.5.3