Author: pschweitzer
Date: Wed Apr 24 14:21:26 2013
New Revision: 58841
URL:
http://svn.reactos.org/svn/reactos?rev=58841&view=rev
Log:
[NTOSKRNL]
Fix a few tests with FsRtlIs*InExpression()
Modified:
trunk/reactos/ntoskrnl/fsrtl/dbcsname.c
trunk/reactos/ntoskrnl/fsrtl/name.c
Modified: trunk/reactos/ntoskrnl/fsrtl/dbcsname.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/dbcsname.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/fsrtl/dbcsname.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/fsrtl/dbcsname.c [iso-8859-1] Wed Apr 24 14:21:26 2013
@@ -285,6 +285,10 @@
/* If we are beyond name, we null match */
if (BeyondName)
{
+ if (Name->Buffer[NamePosition] == '.')
+ {
+ NamePosition++;
+ }
ExpressionPosition++;
continue;
}
Modified: trunk/reactos/ntoskrnl/fsrtl/name.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/name.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/fsrtl/name.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/fsrtl/name.c [iso-8859-1] Wed Apr 24 14:21:26 2013
@@ -216,6 +216,10 @@
/* If we are beyond name, we null match */
if (BeyondName)
{
+ if (Name->Buffer[NamePosition] == L'.')
+ {
+ NamePosition++;
+ }
ExpressionPosition++;
continue;
}