allow watching exFAT (IDEA-114647)

This commit is contained in:
Dmitry Jemerov
2013-10-11 11:27:46 +02:00
parent f8dc1eb777
commit 780fa6e4dd
2 changed files with 1 additions and 1 deletions
Binary file not shown.
+1 -1
View File
@@ -73,7 +73,7 @@ bool IsUnwatchableFS(const char *path)
SetErrorMode(SEM_FAILCRITICALERRORS);
if (!GetVolumeInformationA(path, volumeName, MAX_PATH-1, NULL, &maxComponentLength, &fsFlags, fsName, MAX_PATH-1))
return false;
if (strcmp(fsName, "NTFS") && strcmp(fsName, "FAT") && strcmp(fsName, "FAT32"))
if (strcmp(fsName, "NTFS") && strcmp(fsName, "FAT") && strcmp(fsName, "FAT32") && stricmp(fsName, "exFAT"))
return true;
if (!strcmp(fsName, "NTFS") && maxComponentLength != 255 && !(fsFlags & FILE_SUPPORTS_REPARSE_POINTS))