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
75ce72ea
Commit
75ce72ea
authored
Jul 23, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed handling of .com binaries (thanks to Chris Morgan).
parent
2f61c4a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
process.c
scheduler/process.c
+11
-3
No files found.
scheduler/process.c
View file @
75ce72ea
...
...
@@ -1104,6 +1104,7 @@ BOOL WINAPI CreateProcessA( LPCSTR app_name, LPSTR cmd_line, LPSECURITY_ATTRIBUT
DOS_FULL_NAME
full_dir
;
char
name
[
MAX_PATH
];
LPSTR
tidy_cmdline
;
char
*
p
;
/* Process the AppName and/or CmdLine to get module name and path */
...
...
@@ -1202,11 +1203,18 @@ BOOL WINAPI CreateProcessA( LPCSTR app_name, LPSTR cmd_line, LPSECURITY_ATTRIBUT
retv
=
create_process
(
hFile
,
name
,
tidy_cmdline
,
env
,
process_attr
,
thread_attr
,
inherit
,
flags
,
startup_info
,
info
,
unixdir
);
break
;
case
BINARY_UNIX_EXE
:
case
BINARY_UNKNOWN
:
/* check for .com extension */
if
((
p
=
strrchr
(
name
,
'.'
))
&&
!
FILE_strcasecmp
(
p
,
".com"
))
{
TRACE
(
"starting %s as DOS binary
\n
"
,
debugstr_a
(
name
)
);
retv
=
create_process
(
hFile
,
name
,
tidy_cmdline
,
env
,
process_attr
,
thread_attr
,
inherit
,
flags
,
startup_info
,
info
,
unixdir
);
break
;
}
/* fall through */
case
BINARY_UNIX_EXE
:
{
/* unknown file, try as unix executable */
DOS_FULL_NAME
full_name
;
const
char
*
unixfilename
=
name
;
...
...
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