From 4f83bba82930ea0184c6b8891482841a948ca844 Mon Sep 17 00:00:00 2001 From: Markus Goetz Date: Thu, 9 Aug 2018 13:37:50 +0200 Subject: [PATCH] Windows: Don't ignore files with FILE_ATTRIBUTE_TEMPORARY Too many applications incorrectly use this attribute. For #6696 #6610 --- src/csync/vio/csync_vio_local_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/csync/vio/csync_vio_local_win.cpp b/src/csync/vio/csync_vio_local_win.cpp index 1c9a5907f..6d056a0c5 100644 --- a/src/csync/vio/csync_vio_local_win.cpp +++ b/src/csync/vio/csync_vio_local_win.cpp @@ -181,7 +181,7 @@ std::unique_ptr csync_vio_local_readdir(csync_vio_handle_t *d } } else if (handle->ffd.dwFileAttributes & FILE_ATTRIBUTE_DEVICE || handle->ffd.dwFileAttributes & FILE_ATTRIBUTE_OFFLINE - || handle->ffd.dwFileAttributes & FILE_ATTRIBUTE_TEMPORARY) { + ) { file_stat->type = ItemTypeSkip; } else if (handle->ffd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) { file_stat->type = ItemTypeDirectory;