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
1b7ed451
Commit
1b7ed451
authored
May 09, 2019
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
May 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mspatcha/tests: Fix compile error on older compilers.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
248b11cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
apply_patch.c
dlls/mspatcha/tests/apply_patch.c
+4
-2
No files found.
dlls/mspatcha/tests/apply_patch.c
View file @
1b7ed451
...
...
@@ -336,15 +336,17 @@ BOOL create_temp_file(const BYTE *buf, size_t size, const char *temppath, char *
void
delete_test_files
(
void
)
{
for
(
size_t
i
=
0
;
test_files
[
i
].
buf
!=
NULL
;
++
i
)
size_t
i
;
for
(
i
=
0
;
test_files
[
i
].
buf
!=
NULL
;
++
i
)
DeleteFileA
(
test_files
[
i
].
name
);
}
BOOL
setup_test_files
(
void
)
{
char
temppath
[
MAX_PATH
];
size_t
i
;
GetTempPathA
(
MAX_PATH
,
temppath
);
for
(
size_t
i
=
0
;
test_files
[
i
].
buf
!=
NULL
;
++
i
)
{
for
(
i
=
0
;
test_files
[
i
].
buf
!=
NULL
;
++
i
)
{
if
(
!
create_temp_file
(
test_files
[
i
].
buf
,
test_files
[
i
].
size
,
temppath
,
test_files
[
i
].
name
))
{
skip
(
"Failed to create/write temporary test files
\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