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
4aaf1f0b
Commit
4aaf1f0b
authored
Aug 11, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Aug 11, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Write-strings warnings fix.
parent
92725e52
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
install.c
dlls/msi/tests/install.c
+5
-3
package.c
dlls/msi/tests/package.c
+2
-1
No files found.
dlls/msi/tests/install.c
View file @
4aaf1f0b
...
...
@@ -316,7 +316,7 @@ static int fci_delete(char *pszFile, int *err, void *pv)
return
0
;
}
static
BOOL
check_record
(
MSIHANDLE
rec
,
UINT
field
,
LPSTR
val
)
static
BOOL
check_record
(
MSIHANDLE
rec
,
UINT
field
,
LP
C
STR
val
)
{
CHAR
buffer
[
0x20
];
UINT
r
;
...
...
@@ -403,6 +403,8 @@ static void create_cab_file(const CHAR *name)
CCAB
cabParams
;
HFCI
hfci
;
ERF
erf
;
static
CHAR
four_txt
[]
=
"four.txt"
,
five_txt
[]
=
"five.txt"
;
BOOL
res
;
set_cab_parameters
(
&
cabParams
,
name
);
...
...
@@ -413,8 +415,8 @@ static void create_cab_file(const CHAR *name)
ok
(
hfci
!=
NULL
,
"Failed to create an FCI context
\n
"
);
add_file
(
hfci
,
"four.txt"
);
add_file
(
hfci
,
"five.txt"
);
add_file
(
hfci
,
four_txt
);
add_file
(
hfci
,
five_txt
);
res
=
FCIFlushCabinet
(
hfci
,
FALSE
,
get_next_cabinet
,
progress
);
ok
(
res
,
"Failed to flush the cabinet
\n
"
);
...
...
dlls/msi/tests/package.c
View file @
4aaf1f0b
...
...
@@ -1765,6 +1765,7 @@ static void test_getproperty(void)
{
MSIHANDLE
hPackage
=
0
;
char
prop
[
100
];
static
CHAR
empty
[]
=
""
;
DWORD
size
;
UINT
r
;
...
...
@@ -1783,7 +1784,7 @@ static void test_getproperty(void)
/* retrieve the size, empty string */
size
=
0
;
r
=
MsiGetProperty
(
hPackage
,
"Name"
,
""
,
&
size
);
r
=
MsiGetProperty
(
hPackage
,
"Name"
,
empty
,
&
size
);
ok
(
r
==
ERROR_MORE_DATA
,
"Expected ERROR_MORE_DATA, got %d
\n
"
,
r
);
ok
(
size
==
5
,
"Expected 5, got %ld
\n
"
,
size
);
...
...
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