From f667bad7a5530b3a53caa191d14b9f41781750cc Mon Sep 17 00:00:00 2001 From: Jed Brown Date: Mon, 23 Nov 2009 21:57:33 +0100 Subject: [PATCH] Stay out of tmp to respect the Maildir spec. --- notmuch-new.c | 1 + 1 file changed, 1 insertion(+) diff --git a/notmuch-new.c b/notmuch-new.c index 8172b498..e32b92a5 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;