Skip to content

Commit 8c77bfa

Browse files
committed
Windows: Don't ignore files with FILE_ATTRIBUTE_TEMPORARY
Too many applications incorrectly use this attribute. For #6696 #6610 (cherry picked from commit d0bdccc)
1 parent 235e314 commit 8c77bfa

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
@@ -181,7 +181,7 @@ std::unique_ptr<csync_file_stat_t> csync_vio_local_readdir(csync_vio_handle_t *d
181181
}
182182
} else if (handle->ffd.dwFileAttributes & FILE_ATTRIBUTE_DEVICE
183183
|| handle->ffd.dwFileAttributes & FILE_ATTRIBUTE_OFFLINE
184-
|| handle->ffd.dwFileAttributes & FILE_ATTRIBUTE_TEMPORARY) {
184+
) {
185185
file_stat->type = CSYNC_FTW_TYPE_SKIP;
186186
} else if (handle->ffd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) {
187187
file_stat->type = CSYNC_FTW_TYPE_DIR;

0 commit comments

Comments
 (0)