Stay out of tmp to respect the Maildir spec.
authorJed Brown <jed@59A2.org>
Mon, 23 Nov 2009 20:57:33 +0000 (21:57 +0100)
committerCarl Worth <cworth@cworth.org>
Tue, 24 Nov 2009 02:29:01 +0000 (18:29 -0800)
notmuch-new.c

index 8172b498a3fbd43870367171dccea3a6542c45af..e32b92a51de1b8c0c9bd7797edc84229e8424ff5 100644 (file)
@@ -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;