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
c6befb33
Commit
c6befb33
authored
Jul 29, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Jul 31, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advpack/tests: Write-strings warnings fix.
parent
0fca0e00
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
install.c
dlls/advpack/tests/install.c
+3
-2
No files found.
dlls/advpack/tests/install.c
View file @
c6befb33
...
@@ -60,7 +60,7 @@ static void append_str(char **str, const char *data)
...
@@ -60,7 +60,7 @@ static void append_str(char **str, const char *data)
*
str
+=
strlen
(
*
str
);
*
str
+=
strlen
(
*
str
);
}
}
static
void
create_inf_file
(
LPSTR
filename
)
static
void
create_inf_file
(
LP
C
STR
filename
)
{
{
char
data
[
1024
];
char
data
[
1024
];
char
*
ptr
=
data
;
char
*
ptr
=
data
;
...
@@ -201,6 +201,7 @@ static void test_LaunchINFSection()
...
@@ -201,6 +201,7 @@ static void test_LaunchINFSection()
{
{
HRESULT
hr
;
HRESULT
hr
;
char
cmdline
[
MAX_PATH
];
char
cmdline
[
MAX_PATH
];
static
char
file
[]
=
"test.inf,DefaultInstall,4,0"
;
/* try an invalid cmdline */
/* try an invalid cmdline */
hr
=
pLaunchINFSection
(
NULL
,
NULL
,
NULL
,
0
);
hr
=
pLaunchINFSection
(
NULL
,
NULL
,
NULL
,
0
);
...
@@ -222,7 +223,7 @@ static void test_LaunchINFSection()
...
@@ -222,7 +223,7 @@ static void test_LaunchINFSection()
create_inf_file
(
"test.inf"
);
create_inf_file
(
"test.inf"
);
/* try just the INF filename */
/* try just the INF filename */
hr
=
pLaunchINFSection
(
NULL
,
NULL
,
"test.inf,DefaultInstall,4,0"
,
0
);
hr
=
pLaunchINFSection
(
NULL
,
NULL
,
file
,
0
);
todo_wine
todo_wine
{
{
ok
(
hr
==
0
,
"Expected 0, got %ld
\n
"
,
hr
);
ok
(
hr
==
0
,
"Expected 0, got %ld
\n
"
,
hr
);
...
...
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