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
a26da7b7
Commit
a26da7b7
authored
Apr 17, 2009
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Apr 20, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Replace lstrcatW with memcpy to fix failures on win95.
parent
00703d0c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
automation.c
dlls/msi/tests/automation.c
+3
-3
No files found.
dlls/msi/tests/automation.c
View file @
a26da7b7
...
...
@@ -2331,7 +2331,6 @@ static void test_Installer_InstallProduct(void)
static
void
test_Installer
(
void
)
{
static
WCHAR
szBackslash
[]
=
{
'\\'
,
0
};
static
WCHAR
szCreateRecordException
[]
=
{
'C'
,
'r'
,
'e'
,
'a'
,
't'
,
'e'
,
'R'
,
'e'
,
'c'
,
'o'
,
'r'
,
'd'
,
','
,
'C'
,
'o'
,
'u'
,
'n'
,
't'
,
0
};
static
WCHAR
szIntegerDataException
[]
=
{
'I'
,
'n'
,
't'
,
'e'
,
'g'
,
'e'
,
'r'
,
'D'
,
'a'
,
't'
,
'a'
,
','
,
'F'
,
'i'
,
'e'
,
'l'
,
'd'
,
0
};
WCHAR
szPath
[
MAX_PATH
];
...
...
@@ -2395,8 +2394,9 @@ static void test_Installer(void)
ok
(
len
,
"MultiByteToWideChar returned error %d
\n
"
,
GetLastError
());
if
(
!
len
)
return
;
lstrcatW
(
szPath
,
szBackslash
);
lstrcatW
(
szPath
,
szMsifile
);
/* lstrcatW does not work on win95 */
szPath
[
len
-
1
]
=
'\\'
;
memcpy
(
&
szPath
[
len
],
szMsifile
,
sizeof
(
szMsifile
));
/* Installer::OpenPackage */
hr
=
Installer_OpenPackage
(
szPath
,
0
,
&
pSession
);
...
...
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