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
72a6d976
Commit
72a6d976
authored
May 10, 2006
by
Stefan Leichter
Committed by
Alexandre Julliard
May 11, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel: Fix CreateToolhelp32Snapshot tests on win2k.
parent
a5b1581e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
toolhelp.c
dlls/kernel/tests/toolhelp.c
+2
-2
No files found.
dlls/kernel/tests/toolhelp.c
View file @
72a6d976
...
@@ -244,7 +244,7 @@ static void test_module(DWORD pid, const char* expected[], unsigned num_expected
...
@@ -244,7 +244,7 @@ static void test_module(DWORD pid, const char* expected[], unsigned num_expected
me
.
th32ProcessID
,
me
.
modBaseAddr
,
me
.
modBaseSize
,
me
.
szExePath
,
me
.
szModule
);
me
.
th32ProcessID
,
me
.
modBaseAddr
,
me
.
modBaseSize
,
me
.
szExePath
,
me
.
szModule
);
ok
(
me
.
th32ProcessID
==
pid
,
"wrong returned process id"
);
ok
(
me
.
th32ProcessID
==
pid
,
"wrong returned process id"
);
for
(
i
=
0
;
i
<
num_expected
;
i
++
)
for
(
i
=
0
;
i
<
num_expected
;
i
++
)
if
(
!
strcmp
(
expected
[
i
],
me
.
szModule
))
found
[
i
]
++
;
if
(
!
lstrcmpi
(
expected
[
i
],
me
.
szModule
))
found
[
i
]
++
;
num
++
;
num
++
;
}
while
(
pModule32Next
(
hSnapshot
,
&
me
));
}
while
(
pModule32Next
(
hSnapshot
,
&
me
));
}
}
...
@@ -262,7 +262,7 @@ static void test_module(DWORD pid, const char* expected[], unsigned num_expected
...
@@ -262,7 +262,7 @@ static void test_module(DWORD pid, const char* expected[], unsigned num_expected
trace
(
"PID=%lx base=%p size=%lx %s %s
\n
"
,
trace
(
"PID=%lx base=%p size=%lx %s %s
\n
"
,
me
.
th32ProcessID
,
me
.
modBaseAddr
,
me
.
modBaseSize
,
me
.
szExePath
,
me
.
szModule
);
me
.
th32ProcessID
,
me
.
modBaseAddr
,
me
.
modBaseSize
,
me
.
szExePath
,
me
.
szModule
);
for
(
i
=
0
;
i
<
num_expected
;
i
++
)
for
(
i
=
0
;
i
<
num_expected
;
i
++
)
if
(
!
strcmp
(
expected
[
i
],
me
.
szModule
))
found
[
i
]
++
;
if
(
!
lstrcmpi
(
expected
[
i
],
me
.
szModule
))
found
[
i
]
++
;
num
--
;
num
--
;
}
while
(
pModule32Next
(
hSnapshot
,
&
me
));
}
while
(
pModule32Next
(
hSnapshot
,
&
me
));
}
}
...
...
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