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
aa04a6f7
Commit
aa04a6f7
authored
Apr 29, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't prepend '--' to the command line when starting a Windows binary.
parent
35ba7b9e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
process.c
scheduler/process.c
+2
-6
No files found.
scheduler/process.c
View file @
aa04a6f7
...
...
@@ -821,7 +821,7 @@ static int fork_and_exec( const char *filename, char *cmdline,
fcntl
(
fd
[
1
],
F_SETFD
,
1
);
/* set close on exec */
if
(
!
(
pid
=
fork
()))
/* child */
{
char
**
argv
=
build_argv
(
cmdline
,
filename
?
0
:
2
);
char
**
argv
=
build_argv
(
cmdline
,
filename
?
0
:
1
);
char
**
envp
=
build_envp
(
env
,
extra_env
);
close
(
fd
[
0
]
);
...
...
@@ -829,11 +829,7 @@ static int fork_and_exec( const char *filename, char *cmdline,
if
(
argv
&&
envp
)
{
if
(
!
filename
)
{
argv
[
1
]
=
"--"
;
exec_wine_binary
(
argv
,
envp
);
}
if
(
!
filename
)
exec_wine_binary
(
argv
,
envp
);
else
execve
(
filename
,
argv
,
envp
);
}
err
=
errno
;
...
...
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