Author: pschweitzer
Date: Sun Aug 31 13:50:56 2008
New Revision: 35842
URL:
http://svn.reactos.org/svn/reactos?rev=35842&view=rev
Log:
Get back some code that left with r35841...
Code, don't leave us :).
Modified:
branches/pierre-fsd/ntoskrnl/fsrtl/name.c
Modified: branches/pierre-fsd/ntoskrnl/fsrtl/name.c
URL:
http://svn.reactos.org/svn/reactos/branches/pierre-fsd/ntoskrnl/fsrtl/name.…
==============================================================================
--- branches/pierre-fsd/ntoskrnl/fsrtl/name.c [iso-8859-1] (original)
+++ branches/pierre-fsd/ntoskrnl/fsrtl/name.c [iso-8859-1] Sun Aug 31 13:50:56 2008
@@ -278,6 +278,8 @@
{
ULONG i, j, k = 0;
+ ASSERT(!FsRtlDoesNameContainWildCards(Name));
+
for (i = 0 ; i < Expression->Length / sizeof(WCHAR) ; i++)
{
if ((FsRtlpUpcaseUnicodeChar(Expression->Buffer[i], IgnoreCase, UpcaseTable)
==
@@ -298,6 +300,7 @@
if (Name->Buffer[j] == '.')
{
k = j;
+ break;
}
}
}