mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 04:35:53 +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:
parent
4dea595eca
commit
91a5c6ea10
2 changed files with 2 additions and 2 deletions
|
@ -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++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue