Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
688db4d2
Commit
688db4d2
authored
May 24, 2015
by
Michael Müller
Committed by
Alexandre Julliard
Jun 04, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Treat \r as whitespace.
parent
8c11e6b2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
query.c
dlls/wbemprox/tests/query.c
+3
-1
wql.y
dlls/wbemprox/wql.y
+1
-0
No files found.
dlls/wbemprox/tests/query.c
View file @
688db4d2
...
...
@@ -96,7 +96,9 @@ static void test_select( IWbemServices *services )
{
'S'
,
'E'
,
'L'
,
'E'
,
'C'
,
'T'
,
' '
,
'*'
,
' '
,
'F'
,
'R'
,
'O'
,
'M'
,
' '
,
'W'
,
'i'
,
'n'
,
'3'
,
'2'
,
'_'
,
'D'
,
'i'
,
's'
,
'k'
,
'D'
,
'r'
,
'i'
,
'v'
,
'e'
,
' '
,
'W'
,
'H'
,
'E'
,
'R'
,
'E'
,
' '
,
'D'
,
'e'
,
'v'
,
'i'
,
'c'
,
'e'
,
'I'
,
'D'
,
'='
,
'\"'
,
'\\'
,
'\\'
,
'\\'
,
'\\'
,
'.'
,
'\\'
,
'\\'
,
'P'
,
'H'
,
'Y'
,
'S'
,
'I'
,
'C'
,
'A'
,
'L'
,
'D'
,
'R'
,
'I'
,
'V'
,
'E'
,
'0'
,
'\"'
,
0
};
static
const
WCHAR
*
test
[]
=
{
query1
,
query2
,
query3
,
query4
,
query5
,
query6
,
query7
,
query8
};
static
const
WCHAR
query9
[]
=
{
'S'
,
'E'
,
'L'
,
'E'
,
'C'
,
'T'
,
'\n'
,
'a'
,
'\r'
,
'F'
,
'R'
,
'O'
,
'M'
,
'\t'
,
'b'
,
0
};
static
const
WCHAR
*
test
[]
=
{
query1
,
query2
,
query3
,
query4
,
query5
,
query6
,
query7
,
query8
,
query9
};
HRESULT
hr
;
IEnumWbemClassObject
*
result
;
BSTR
wql
=
SysAllocString
(
wqlW
);
...
...
dlls/wbemprox/wql.y
View file @
688db4d2
...
...
@@ -583,6 +583,7 @@ static int get_token( const WCHAR *s, int *token )
{
case ' ':
case '\t':
case '\r':
case '\n':
for (i = 1; isspaceW( s[i] ); i++) {}
*token = TK_SPACE;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment