mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 03:46:38 +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])
|
switch (Expression->Buffer[ExpressionPosition])
|
||||||
{
|
{
|
||||||
case '*':
|
case '*':
|
||||||
StarFound = ExpressionPosition++;
|
StarFound = MAXUSHORT;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case '?':
|
case '?':
|
||||||
|
@ -226,6 +226,7 @@ FsRtlIsDbcsInExpression(IN PANSI_STRING Expression,
|
||||||
if (ExpressionPosition == Expression->Length)
|
if (ExpressionPosition == Expression->Length)
|
||||||
{
|
{
|
||||||
NamePosition = Name->Length;
|
NamePosition = Name->Length;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (Expression->Buffer[ExpressionPosition] == ANSI_DOS_STAR)
|
else if (Expression->Buffer[ExpressionPosition] == ANSI_DOS_STAR)
|
||||||
|
@ -253,7 +254,7 @@ FsRtlIsDbcsInExpression(IN PANSI_STRING Expression,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
NamePosition = Name->Length;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (ExpressionPosition + 1 == Expression->Length && NamePosition == Name->Length &&
|
if (ExpressionPosition + 1 == Expression->Length && NamePosition == Name->Length &&
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue