From d0bdccc60a4371cf5ccc6acf185d0b51a1701ec7 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 d01a52a8cb..9ec585a43d 100644 --- a/src/csync/vio/csync_vio_local_win.cpp +++ b/src/csync/vio/csync_vio_local_win.cpp @@ -182,7 +182,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;