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
e0319b82
Commit
e0319b82
authored
Aug 29, 2009
by
Eric Pouech
Committed by
Alexandre Julliard
Aug 29, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Handle the case where wineconsole isn't properly started.
parent
09adcee2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
console.c
dlls/kernel32/console.c
+8
-1
No files found.
dlls/kernel32/console.c
View file @
e0319b82
...
...
@@ -1162,10 +1162,17 @@ static BOOL start_console_renderer_helper(const char* appname, STARTUPINFOA*
CreateProcessA
(
NULL
,
buffer
,
NULL
,
NULL
,
TRUE
,
DETACHED_PROCESS
,
NULL
,
NULL
,
si
,
&
pi
))
{
HANDLE
wh
[
2
];
DWORD
ret
;
wh
[
0
]
=
hEvent
;
wh
[
1
]
=
pi
.
hProcess
;
ret
=
WaitForMultipleObjects
(
2
,
wh
,
FALSE
,
INFINITE
);
CloseHandle
(
pi
.
hThread
);
CloseHandle
(
pi
.
hProcess
);
if
(
WaitForSingleObject
(
hEvent
,
INFINITE
)
!=
WAIT_OBJECT_0
)
return
FALSE
;
if
(
ret
!=
WAIT_OBJECT_0
)
return
FALSE
;
TRACE
(
"Started wineconsole pid=%08x tid=%08x
\n
"
,
pi
.
dwProcessId
,
pi
.
dwThreadId
);
...
...
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