[FASTFAT]

- Don't check for leading "." char in a filename, because it's valid in case of LFN. The driver is already quite broken, so it can't get more broken if this assert is commented out.
Fixes assertion in "kernel32_winetest module".

svn path=/trunk/; revision=53722
This commit is contained in:
Aleksey Bragin 2011-09-16 13:42:04 +00:00
parent 606aa872f2
commit b4b9d26324

View file

@ -29,7 +29,8 @@ static ULONG vfatNameHash(ULONG hash, PUNICODE_STRING NameU)
PWCHAR curr;
register WCHAR c;
ASSERT(NameU->Buffer[0] != L'.');
// LFN could start from "."
//ASSERT(NameU->Buffer[0] != L'.');
curr = NameU->Buffer;
last = NameU->Buffer + NameU->Length / sizeof(WCHAR);