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
af086800
Commit
af086800
authored
Oct 07, 2008
by
Joris Huizer
Committed by
Alexandre Julliard
Oct 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version/tests: Corrected memset placement.
parent
b84e4789
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
install.c
dlls/version/tests/install.c
+4
-4
No files found.
dlls/version/tests/install.c
View file @
af086800
...
...
@@ -183,23 +183,23 @@ static void test_install_file(void)
memset
(
tmpname
,
0
,
sizeof
(
tmpname
));
size
=
MAX_PATH
;
rc
=
VerInstallFileA
(
0x0
,
szSrcFileName
,
NULL
,
NULL
,
NULL
,
NULL
,
tmpname
,
&
size
);
memset
(
tmpname
,
0
,
sizeof
(
tmpname
));
ok
(
rc
==
0x10000
&&
tmpname
[
0
]
==
0
,
" expected return 0x10000 and no tempname, got %08x/
\'
%s
\'\n
"
,
rc
,
tmpname
);
memset
(
tmpname
,
0
,
sizeof
(
tmpname
));
size
=
MAX_PATH
;
rc
=
VerInstallFileA
(
0x0
,
szSrcFileName
,
szDestFileName
,
NULL
,
NULL
,
NULL
,
tmpname
,
&
size
);
memset
(
tmpname
,
0
,
sizeof
(
tmpname
));
ok
(
rc
==
0x10000
&&
tmpname
[
0
]
==
0
,
" expected return 0x10000 and no tempname, got %08x/
\'
%s
\'\n
"
,
rc
,
tmpname
);
memset
(
tmpname
,
0
,
sizeof
(
tmpname
));
size
=
MAX_PATH
;
rc
=
VerInstallFileA
(
0x0
,
szSrcFileName
,
szDestFileName
,
szSrcDir
,
NULL
,
NULL
,
tmpname
,
&
size
);
memset
(
tmpname
,
0
,
sizeof
(
tmpname
));
ok
(
rc
==
0x10000
&&
tmpname
[
0
]
==
0
,
" expected return 0x10000 and no tempname, got %08x/
\'
%s
\'\n
"
,
rc
,
tmpname
);
/* Source file does not exist*/
memset
(
tmpname
,
0
,
sizeof
(
tmpname
));
size
=
MAX_PATH
;
rc
=
VerInstallFileA
(
0x0
,
szSrcFileName
,
szDestFileName
,
szSrcDir
,
szDestDir
,
NULL
,
tmpname
,
&
size
);
memset
(
tmpname
,
0
,
sizeof
(
tmpname
));
ok
(
rc
==
0x10000
&&
tmpname
[
0
]
==
0
,
" expected return 0x10000 and no tempname, got %08x/
\'
%s
\'\n
"
,
rc
,
tmpname
);
memset
(
tmpname
,
0
,
sizeof
(
tmpname
));
size
=
MAX_PATH
;
rc
=
VerInstallFileA
(
0x0
,
szSrcFileName
,
szDestFileName
,
szSrcDir
,
szDestDir
,
szCurDir
,
tmpname
,
&
size
);
ok
(
rc
==
0x10000
&&
tmpname
[
0
]
==
0
,
" expected return 0x10000 and no tempname, got %08x/
\'
%s
\'\n
"
,
rc
,
tmpname
);
...
...
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