Paul Vriens : msi: Make tests run on Win98 again.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Oct 9 06:03:13 CDT 2006


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

Author: Paul Vriens <Paul.Vriens at xs4all.nl>
Date:   Sun Oct  8 14:29:08 2006 +0200

msi: Make tests run on Win98 again.

---

 dlls/msi/tests/install.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/msi/tests/install.c b/dlls/msi/tests/install.c
index 4e611da..94925dc 100644
--- a/dlls/msi/tests/install.c
+++ b/dlls/msi/tests/install.c
@@ -250,7 +250,8 @@ static INT_PTR fci_open(char *pszFile, i
     DWORD dwCreateDisposition = OPEN_EXISTING;
     
     dwAccess = GENERIC_READ | GENERIC_WRITE;
-    dwShareMode = FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE;
+    /* FILE_SHARE_DELETE is not supported by Windows Me/98/95 */
+    dwShareMode = FILE_SHARE_READ | FILE_SHARE_WRITE;
 
     if (GetFileAttributesA(pszFile) != INVALID_FILE_ATTRIBUTES)
         dwCreateDisposition = OPEN_EXISTING;




More information about the wine-cvs mailing list