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
27664e3c
Commit
27664e3c
authored
Aug 20, 2015
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Aug 20, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Fix compilation with PSDK.
parent
7386de35
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
process.c
dlls/kernel32/tests/process.c
+4
-4
No files found.
dlls/kernel32/tests/process.c
View file @
27664e3c
...
...
@@ -2176,7 +2176,7 @@ static void _create_process(int line, const char *command, LPPROCESS_INFORMATION
char
buffer
[
MAX_PATH
];
STARTUPINFOA
si
=
{
0
};
s
nprintf
(
buffer
,
MAX_PATH
,
"
\"
%s
\"
tests/process.c %s"
,
selfname
,
command
);
s
printf
(
buffer
,
"
\"
%s
\"
tests/process.c %s"
,
selfname
,
command
);
ret
=
CreateProcessA
(
NULL
,
buffer
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
NULL
,
&
si
,
pi
);
ok_
(
__FILE__
,
line
)(
ret
,
"CreateProcess error %u
\n
"
,
GetLastError
());
...
...
@@ -2302,7 +2302,7 @@ static void test_TerminateJobObject(void)
static
void
test_QueryInformationJobObject
(
void
)
{
char
buf
[
FIELD_OFFSET
(
JOBOBJECT_BASIC_PROCESS_ID_LIST
,
ProcessIdList
[
5
])
];
char
buf
[
sizeof
(
JOBOBJECT_BASIC_PROCESS_ID_LIST
)
+
sizeof
(
ULONG_PTR
)
*
4
];
PJOBOBJECT_BASIC_PROCESS_ID_LIST
pid_list
=
(
JOBOBJECT_BASIC_PROCESS_ID_LIST
*
)
buf
;
JOBOBJECT_EXTENDED_LIMIT_INFORMATION
ext_limit_info
;
JOBOBJECT_BASIC_LIMIT_INFORMATION
*
basic_limit_info
=
&
ext_limit_info
.
BasicLimitInformation
;
...
...
@@ -2599,7 +2599,7 @@ static void test_jobInheritance(HANDLE job)
return
;
}
s
nprintf
(
buffer
,
MAX_PATH
,
"
\"
%s
\"
tests/process.c %s"
,
selfname
,
"exit"
);
s
printf
(
buffer
,
"
\"
%s
\"
tests/process.c %s"
,
selfname
,
"exit"
);
ret
=
CreateProcessA
(
NULL
,
buffer
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
NULL
,
&
si
,
&
pi
);
ok
(
ret
,
"CreateProcessA error %u
\n
"
,
GetLastError
());
...
...
@@ -2631,7 +2631,7 @@ static void test_BreakawayOk(HANDLE job)
return
;
}
s
nprintf
(
buffer
,
MAX_PATH
,
"
\"
%s
\"
tests/process.c %s"
,
selfname
,
"exit"
);
s
printf
(
buffer
,
"
\"
%s
\"
tests/process.c %s"
,
selfname
,
"exit"
);
ret
=
CreateProcessA
(
NULL
,
buffer
,
NULL
,
NULL
,
FALSE
,
CREATE_BREAKAWAY_FROM_JOB
,
NULL
,
NULL
,
&
si
,
&
pi
);
ok
(
!
ret
,
"CreateProcessA expected failure
\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