Alexandre Julliard : imagehlp/tests: Remove a workaround for Win95.

Alexandre Julliard julliard at winehq.org
Wed Jun 12 16:44:25 CDT 2019


Module: wine
Branch: master
Commit: dffa0b021075f0fc3088fb90f5be263fef26d250
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=dffa0b021075f0fc3088fb90f5be263fef26d250

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Jun 12 23:34:48 2019 +0200

imagehlp/tests: Remove a workaround for Win95.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/imagehlp/tests/integrity.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/dlls/imagehlp/tests/integrity.c b/dlls/imagehlp/tests/integrity.c
index a5648ad..3b85c6a 100644
--- a/dlls/imagehlp/tests/integrity.c
+++ b/dlls/imagehlp/tests/integrity.c
@@ -407,15 +407,6 @@ START_TEST(integrity)
     }
 
     file_size_orig = get_file_size();
-    /*
-     * Align file_size_orig to an 8-byte boundary. This avoids tests failures where
-     * the original dll is not correctly aligned (but when written to it will be).
-     */
-    if (file_size_orig % 8 != 0)
-    {
-        skip("We need to align to an 8-byte boundary\n");
-        file_size_orig = (file_size_orig + 7) & ~7;
-    }
 
     pImageAddCertificate = (void *) GetProcAddress(hImageHlp, "ImageAddCertificate");
     pImageEnumerateCertificates = (void *) GetProcAddress(hImageHlp, "ImageEnumerateCertificates");




More information about the wine-cvs mailing list