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
1bfbcefb
Commit
1bfbcefb
authored
Mar 02, 2007
by
Peter Oberndorfer
Committed by
Alexandre Julliard
Mar 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Make exception test not hang when creating process fails.
parent
25cd1c4d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
exception.c
dlls/ntdll/tests/exception.c
+5
-2
No files found.
dlls/ntdll/tests/exception.c
View file @
1bfbcefb
...
@@ -591,6 +591,7 @@ static void test_debugger(void)
...
@@ -591,6 +591,7 @@ static void test_debugger(void)
PVOID
code_mem_address
=
NULL
;
PVOID
code_mem_address
=
NULL
;
NTSTATUS
status
;
NTSTATUS
status
;
SIZE_T
size_read
;
SIZE_T
size_read
;
BOOL
ret
;
int
counter
=
0
;
int
counter
=
0
;
si
.
cb
=
sizeof
(
si
);
si
.
cb
=
sizeof
(
si
);
...
@@ -601,8 +602,10 @@ static void test_debugger(void)
...
@@ -601,8 +602,10 @@ static void test_debugger(void)
}
}
sprintf
(
cmdline
,
"%s %s %s"
,
my_argv
[
0
],
my_argv
[
1
],
"debuggee"
);
sprintf
(
cmdline
,
"%s %s %s"
,
my_argv
[
0
],
my_argv
[
1
],
"debuggee"
);
ok
(
CreateProcess
(
NULL
,
cmdline
,
NULL
,
NULL
,
FALSE
,
DEBUG_PROCESS
,
NULL
,
NULL
,
ret
=
CreateProcess
(
NULL
,
cmdline
,
NULL
,
NULL
,
FALSE
,
DEBUG_PROCESS
,
NULL
,
NULL
,
&
si
,
&
pi
);
&
si
,
&
pi
)
!=
0
,
"error: %u
\n
"
,
GetLastError
());
ok
(
ret
,
"could not create child process error: %u
\n
"
,
GetLastError
());
if
(
!
ret
)
return
;
do
do
{
{
...
...
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