--- flac-orig/src/share/grabbag/file.c	2019-08-26 11:13:17.600801754 -0400
+++ flac/src/share/grabbag/file.c	2019-08-26 11:27:16.801546222 -0400
@@ -118,34 +118,7 @@
 FLAC__bool grabbag__file_are_same(const char *f1, const char *f2)
 {
 #if defined _WIN32 && !defined __CYGWIN__
-	/* see
-	 *  http://www.hydrogenaudio.org/forums/index.php?showtopic=49439&pid=444300&st=0
-	 *  http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/getfileinformationbyhandle.asp
-	 *  http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/by_handle_file_information_str.asp
-	 *  http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/createfile.asp
-	 * apparently both the files have to be open at the same time for the comparison to work
-	 */
-	FLAC__bool same = false;
-	BY_HANDLE_FILE_INFORMATION info1, info2;
-	HANDLE h1, h2;
-	BOOL ok = 1;
-	h1 = CreateFile_utf8(f1, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
-	h2 = CreateFile_utf8(f2, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
-	if(h1 == INVALID_HANDLE_VALUE || h2 == INVALID_HANDLE_VALUE)
-		ok = 0;
-	ok &= GetFileInformationByHandle(h1, &info1);
-	ok &= GetFileInformationByHandle(h2, &info2);
-	if(ok)
-		same =
-			info1.dwVolumeSerialNumber == info2.dwVolumeSerialNumber &&
-			info1.nFileIndexHigh == info2.nFileIndexHigh &&
-			info1.nFileIndexLow == info2.nFileIndexLow
-		;
-	if(h1 != INVALID_HANDLE_VALUE)
-		CloseHandle(h1);
-	if(h2 != INVALID_HANDLE_VALUE)
-		CloseHandle(h2);
-	return same;
+	return true;
 #else
 	struct flac_stat_s s1, s2;
 	return f1 && f2 && flac_stat(f1, &s1) == 0 && flac_stat(f2, &s2) == 0 && s1.st_ino == s2.st_ino && s1.st_dev == s2.st_dev;
