mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[NTOSKRNL]
Also allow null matching at the end of the expression with * wc in FsRtlIs*InExpression() This should fix a few tests svn path=/trunk/; revision=58791
This commit is contained in:
@@ -248,7 +248,7 @@ FsRtlIsDbcsInExpression(IN PANSI_STRING Expression,
|
||||
}
|
||||
}
|
||||
if (ExpressionPosition + 1 == Expression->Length && NamePosition == Name->Length &&
|
||||
Expression->Buffer[ExpressionPosition] == ANSI_DOS_DOT)
|
||||
(Expression->Buffer[ExpressionPosition] == ANSI_DOS_DOT || Expression->Buffer[ExpressionPosition] == '*'))
|
||||
{
|
||||
ExpressionPosition++;
|
||||
}
|
||||
|
||||
@@ -185,7 +185,7 @@ FsRtlIsNameInExpressionPrivate(IN PUNICODE_STRING Expression,
|
||||
}
|
||||
}
|
||||
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++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user