Skip to content

Commit 8b56552

Browse files
committed
.
1 parent ec5b142 commit 8b56552

File tree

1 file changed

+9
-9
lines changed
  • boot/freeldr/freeldr/lib/fs

1 file changed

+9
-9
lines changed

boot/freeldr/freeldr/lib/fs/ntfs.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -526,18 +526,18 @@ static BOOLEAN NtfsCompareFileName(PCHAR FileName, PNTFS_INDEX_ENTRY IndexEntry)
526526
return FALSE;
527527

528528
/* Do case-sensitive compares for Posix file names. */
529-
if (IndexEntry->FileName.FileNameType == NTFS_FILE_NAME_POSIX)
530-
{
531-
for (i = 0; i < EntryFileNameLength; i++)
532-
if (EntryFileName[i] != FileName[i])
533-
return FALSE;
534-
}
535-
else
536-
{
529+
//if (IndexEntry->FileName.FileNameType == NTFS_FILE_NAME_POSIX)
530+
//{
531+
// for (i = 0; i < EntryFileNameLength; i++)
532+
// if (EntryFileName[i] != FileName[i])
533+
// return FALSE;
534+
//}
535+
//else
536+
//{
537537
for (i = 0; i < EntryFileNameLength; i++)
538538
if (tolower(EntryFileName[i]) != tolower(FileName[i]))
539539
return FALSE;
540-
}
540+
//}
541541

542542
return TRUE;
543543
}

0 commit comments

Comments
 (0)