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
636725f2
Commit
636725f2
authored
Mar 07, 2003
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 07, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed regression in sub-process creation.
parent
68c3a284
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
wineconsole.c
programs/wineconsole/wineconsole.c
+4
-6
No files found.
programs/wineconsole/wineconsole.c
View file @
636725f2
...
...
@@ -658,6 +658,9 @@ static BOOL WINECON_Spawn(struct inner_data* data, LPWSTR cmdLine)
CloseHandle
(
startup
.
hStdOutput
);
CloseHandle
(
startup
.
hStdError
);
CloseHandle
(
info
.
hProcess
);
CloseHandle
(
info
.
hThread
);
return
done
;
}
...
...
@@ -742,14 +745,9 @@ int PASCAL WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmdLine, INT nCmdSh
break
;
case
from_process_name
:
{
const
char
*
src
;
LPWSTR
dst
;
WCHAR
buffer
[
256
];
src
=
wci
.
ptr
;
dst
=
buffer
;
while
(
*
src
&&
*
src
!=
' '
&&
(
dst
-
buffer
<
sizeof
(
buffer
)
/
sizeof
(
WCHAR
)
-
1
))
*
dst
++
=
*
src
++
;
*
dst
=
0
;
MultiByteToWideChar
(
CP_ACP
,
0
,
wci
.
ptr
,
-
1
,
buffer
,
sizeof
(
buffer
)
/
sizeof
(
buffer
[
0
]));
if
(
!
(
data
=
WINECON_Init
(
hInst
,
GetCurrentProcessId
(),
buffer
,
wci
.
backend
)))
return
0
;
...
...
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