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
b00a831d
Commit
b00a831d
authored
Nov 23, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Don't filter out the WINELOADER variable.
parent
5be2a01c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
process.c
dlls/kernel32/tests/process.c
+1
-3
No files found.
dlls/kernel32/tests/process.c
View file @
b00a831d
...
...
@@ -1374,14 +1374,12 @@ static void test_Environment(void)
strcpy
(
ptr
,
"BAR=FOOBAR"
);
ptr
+=
strlen
(
ptr
)
+
1
;
/* copy all existing variables except:
* - WINELOADER
* - PATH (already set above)
* - the directory definitions (=[A-Z]:=)
*/
for
(
ptr2
=
env
;
*
ptr2
;
ptr2
+=
strlen
(
ptr2
)
+
1
)
{
if
(
strncmp
(
ptr2
,
"PATH="
,
5
)
!=
0
&&
strncmp
(
ptr2
,
"WINELOADER="
,
11
)
!=
0
&&
!
is_str_env_drive_dir
(
ptr2
))
{
strcpy
(
ptr
,
ptr2
);
...
...
@@ -1420,7 +1418,7 @@ static void test_SuspendFlag(void)
ok
(
CreateProcessA
(
NULL
,
buffer
,
NULL
,
NULL
,
FALSE
,
CREATE_SUSPENDED
,
NULL
,
NULL
,
&
startup
,
&
info
),
"CreateProcess
\n
"
);
ok
(
GetExitCodeThread
(
info
.
hThread
,
&
exit_status
)
&&
exit_status
==
STILL_ACTIVE
,
"thread still running
\n
"
);
Sleep
(
100
0
);
Sleep
(
100
);
ok
(
GetExitCodeThread
(
info
.
hThread
,
&
exit_status
)
&&
exit_status
==
STILL_ACTIVE
,
"thread still running
\n
"
);
ok
(
ResumeThread
(
info
.
hThread
)
==
1
,
"Resuming thread
\n
"
);
...
...
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