mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
Stay out of tmp to respect the Maildir spec.
This commit is contained in:
parent
bc0a873b18
commit
f667bad7a5
1 changed files with 1 additions and 0 deletions
|
@ -159,6 +159,7 @@ add_files_recursive (notmuch_database_t *notmuch,
|
||||||
* user specify files to be ignored. */
|
* user specify files to be ignored. */
|
||||||
if (strcmp (entry->d_name, ".") == 0 ||
|
if (strcmp (entry->d_name, ".") == 0 ||
|
||||||
strcmp (entry->d_name, "..") == 0 ||
|
strcmp (entry->d_name, "..") == 0 ||
|
||||||
|
strcmp (entry->d_name, "tmp") == 0 ||
|
||||||
strcmp (entry->d_name, ".notmuch") ==0)
|
strcmp (entry->d_name, ".notmuch") ==0)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue