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
7066ce0b
Commit
7066ce0b
authored
Feb 12, 2014
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Set correct binary type for COM and PIF files.
parent
37e5d4c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
process.c
dlls/kernel32/process.c
+4
-0
No files found.
dlls/kernel32/process.c
View file @
7066ce0b
...
...
@@ -2368,6 +2368,8 @@ static BOOL create_process_impl( LPCWSTR app_name, LPWSTR cmd_line, LPSECURITY_A
if
(
!
strcmpiW
(
p
,
comW
)
||
!
strcmpiW
(
p
,
pifW
))
{
TRACE
(
"starting %s as DOS binary
\n
"
,
debugstr_w
(
name
)
);
binary_info
.
type
=
BINARY_DOS
;
binary_info
.
arch
=
IMAGE_FILE_MACHINE_I386
;
retv
=
create_vdm_process
(
name
,
tidy_cmdline
,
envW
,
cur_dir
,
process_attr
,
thread_attr
,
inherit
,
flags
,
startup_info
,
info
,
unixdir
,
&
binary_info
,
FALSE
);
...
...
@@ -2502,6 +2504,8 @@ static void exec_process( LPCWSTR name )
/* check for .com or .pif extension */
if
(
!
(
p
=
strrchrW
(
name
,
'.'
)))
break
;
if
(
strcmpiW
(
p
,
comW
)
&&
strcmpiW
(
p
,
pifW
))
break
;
binary_info
.
type
=
BINARY_DOS
;
binary_info
.
arch
=
IMAGE_FILE_MACHINE_I386
;
/* fall through */
case
BINARY_OS216
:
case
BINARY_WIN16
:
...
...
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