Author: fireball Date: Fri Sep 16 13:42:04 2011 New Revision: 53722
URL: http://svn.reactos.org/svn/reactos?rev=53722&view=rev Log: [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".
Modified: trunk/reactos/drivers/filesystems/fastfat/fcb.c
Modified: trunk/reactos/drivers/filesystems/fastfat/fcb.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfat... ============================================================================== --- trunk/reactos/drivers/filesystems/fastfat/fcb.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/fastfat/fcb.c [iso-8859-1] Fri Sep 16 13:42:04 2011 @@ -29,7 +29,8 @@ 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);