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
667ac7ff
Commit
667ac7ff
authored
Jun 04, 2004
by
Rein Klazes
Committed by
Alexandre Julliard
Jun 04, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a crash when launching Unix executables.
parent
ca46969b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
process.c
dlls/kernel/process.c
+2
-1
No files found.
dlls/kernel/process.c
View file @
667ac7ff
...
...
@@ -1279,7 +1279,8 @@ static char **build_envp( const WCHAR *envW, char *extra_env )
char
**
envptr
=
envp
;
/* first the extra strings */
for
(
p
=
extra_env
;
*
p
;
p
+=
strlen
(
p
)
+
1
)
*
envptr
++
=
alloc_env_string
(
""
,
p
);
if
(
extra_env
)
for
(
p
=
extra_env
;
*
p
;
p
+=
strlen
(
p
)
+
1
)
*
envptr
++
=
alloc_env_string
(
""
,
p
);
/* then put PATH, TEMP, TMP, HOME and WINEPREFIX from the unix env */
if
((
p
=
getenv
(
"PATH"
)))
*
envptr
++
=
alloc_env_string
(
"PATH="
,
p
);
if
((
p
=
getenv
(
"TEMP"
)))
*
envptr
++
=
alloc_env_string
(
"TEMP="
,
p
);
...
...
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