From d604269b40847add0e7f6de03c97243a4c7ae563 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Thu, 6 Oct 2011 22:31:29 +0000 Subject: [PATCH] [SETUPAPI] - Correctly interpret the result of compare_files in SetupCopyOEMInfW. Prevents random failures svn path=/trunk/; revision=54036 --- reactos/dll/win32/setupapi/install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/setupapi/install.c b/reactos/dll/win32/setupapi/install.c index 839b66cf3b1..cc47900bde3 100644 --- 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)); -- 2.17.1