projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d974e84
)
[SETUPAPI]
author
Thomas Faber
<thomas.faber@reactos.org>
Thu, 6 Oct 2011 22:31:29 +0000
(22:31 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Thu, 6 Oct 2011 22:31:29 +0000
(22:31 +0000)
- Correctly interpret the result of compare_files in SetupCopyOEMInfW. Prevents random failures
svn path=/trunk/; revision=54036
reactos/dll/win32/setupapi/install.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/setupapi/install.c
b/reactos/dll/win32/setupapi/install.c
index
839b66c
..
cc47900
100644
(file)
--- a/
reactos/dll/win32/setupapi/install.c
+++ b/
reactos/dll/win32/setupapi/install.c
@@
-2408,7
+2408,7
@@
BOOL WINAPI SetupCopyOEMInfW(
{
if (GetFileSizeEx(hDestFile, &DestFileSize)
&& DestFileSize.QuadPart == SourceFileSize.QuadPart
- && compare_files(hSourceFile, hDestFile))
+ &&
!
compare_files(hSourceFile, hDestFile))
{
TRACE("%s already exists as %s\n",
debugstr_w(SourceInfFileName), debugstr_w(pFileName));