Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
6500bb0e
Commit
6500bb0e
authored
Jan 08, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Avoid printing pointer differences in traces.
parent
2335a44e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
env.c
dlls/ntdll/tests/env.c
+4
-3
No files found.
dlls/ntdll/tests/env.c
View file @
6500bb0e
...
...
@@ -86,11 +86,12 @@ static void testQuery(void)
WCHAR
bv
[
257
];
UNICODE_STRING
name
;
UNICODE_STRING
value
;
const
struct
test
*
test
;
NTSTATUS
nts
;
unsigned
int
i
;
for
(
test
=
tests
;
test
->
var
;
test
++
)
for
(
i
=
0
;
tests
[
i
].
var
;
i
++
)
{
const
struct
test
*
test
=
&
tests
[
i
];
name
.
Length
=
strlen
(
test
->
var
)
*
2
;
name
.
MaximumLength
=
name
.
Length
+
2
;
name
.
Buffer
=
bn
;
...
...
@@ -103,7 +104,7 @@ static void testQuery(void)
nts
=
pRtlQueryEnvironmentVariable_U
(
small_env
,
&
name
,
&
value
);
ok
(
nts
==
test
->
status
||
(
test
->
alt
&&
nts
==
test
->
alt
),
"[%d]: Wrong status for '%s', expecting %x got %x
\n
"
,
test
-
tests
,
test
->
var
,
test
->
status
,
nts
);
i
,
test
->
var
,
test
->
status
,
nts
);
if
(
nts
==
test
->
status
)
switch
(
nts
)
{
case
STATUS_SUCCESS
:
...
...
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