Author: pschweitzer
Date: Sat Apr 20 16:49:53 2013
New Revision: 58791
URL:
http://svn.reactos.org/svn/reactos?rev=58791&view=rev
Log:
[NTOSKRNL]
Also allow null matching at the end of the expression with * wc in FsRtlIs*InExpression()
This should fix a few tests
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] Sat Apr 20 16:49:53 2013
@@ -248,7 +248,7 @@
}
}
if (ExpressionPosition + 1 == Expression->Length && NamePosition ==
Name->Length &&
- Expression->Buffer[ExpressionPosition] == ANSI_DOS_DOT)
+ (Expression->Buffer[ExpressionPosition] == ANSI_DOS_DOT ||
Expression->Buffer[ExpressionPosition] == '*'))
{
ExpressionPosition++;
}
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] Sat Apr 20 16:49:53 2013
@@ -185,7 +185,7 @@
}
}
if (ExpressionPosition + 1 == Expression->Length / sizeof(WCHAR) &&
NamePosition == Name->Length / sizeof(WCHAR) &&
- Expression->Buffer[ExpressionPosition] == DOS_DOT)
+ (Expression->Buffer[ExpressionPosition] == DOS_DOT ||
Expression->Buffer[ExpressionPosition] == L'*'))
{
ExpressionPosition++;
}