Skip to content

Commit d0bdccc

Browse files
committed
Windows: Don't ignore files with FILE_ATTRIBUTE_TEMPORARY
Too many applications incorrectly use this attribute. For #6696 #6610
1 parent 84b98ca commit d0bdccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/csync/vio/csync_vio_local_win.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ std::unique_ptr<csync_file_stat_t> csync_vio_local_readdir(csync_vio_handle_t *d
182182
}
183183
} else if (handle->ffd.dwFileAttributes & FILE_ATTRIBUTE_DEVICE
184184
|| handle->ffd.dwFileAttributes & FILE_ATTRIBUTE_OFFLINE
185-
|| handle->ffd.dwFileAttributes & FILE_ATTRIBUTE_TEMPORARY) {
185+
) {
186186
file_stat->type = ItemTypeSkip;
187187
} else if (handle->ffd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) {
188188
file_stat->type = ItemTypeDirectory;

0 commit comments

Comments
 (0)