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
3ada2844
Commit
3ada2844
authored
Jan 20, 2004
by
Francois Gouget
Committed by
Alexandre Julliard
Jan 20, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid duplicate '=C:' entries in the child process environment.
parent
d26f658a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
process.c
dlls/kernel/process.c
+2
-0
No files found.
dlls/kernel/process.c
View file @
3ada2844
...
...
@@ -1067,6 +1067,8 @@ static char **build_envp( const WCHAR *envW, const WCHAR *extra_envW )
/* now put the Windows environment strings */
for
(
p
=
env
;
*
p
;
p
+=
strlen
(
p
)
+
1
)
{
if
(
extra_env
&&
p
[
0
]
==
'='
&&
'A'
<=
p
[
1
]
&&
p
[
1
]
<=
'Z'
&&
p
[
2
]
==
':'
&&
p
[
3
]
==
'='
)
continue
;
/* skipped */
if
(
!
memcmp
(
p
,
"PATH="
,
5
))
/* store PATH as WINEPATH */
*
envptr
++
=
alloc_env_string
(
"WINEPATH="
,
p
+
5
);
else
if
(
memcmp
(
p
,
"HOME="
,
5
)
&&
...
...
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