mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[NTOSKRNL]
One-line fix for FsRtlIs*InExpression(). This fixes failing tests, but not overrun. Added some breaks to reach more quickly the end svn path=/trunk/; revision=50873
This commit is contained in:
parent
e5d92f833a
commit
d56de922f2
2 changed files with 931 additions and 162 deletions
|
@ -181,7 +181,7 @@ FsRtlIsDbcsInExpression(IN PANSI_STRING Expression,
|
|||
switch (Expression->Buffer[ExpressionPosition])
|
||||
{
|
||||
case '*':
|
||||
StarFound = ExpressionPosition++;
|
||||
StarFound = MAXUSHORT;
|
||||
break;
|
||||
|
||||
case '?':
|
||||
|
@ -226,6 +226,7 @@ FsRtlIsDbcsInExpression(IN PANSI_STRING Expression,
|
|||
if (ExpressionPosition == Expression->Length)
|
||||
{
|
||||
NamePosition = Name->Length;
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (Expression->Buffer[ExpressionPosition] == ANSI_DOS_STAR)
|
||||
|
@ -253,7 +254,7 @@ FsRtlIsDbcsInExpression(IN PANSI_STRING Expression,
|
|||
}
|
||||
else
|
||||
{
|
||||
NamePosition = Name->Length;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (ExpressionPosition + 1 == Expression->Length && NamePosition == Name->Length &&
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue