From 06e076691096a10dc0b9342b8212614621a46096 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Fri, 6 Oct 2006 11:41:28 +0200 Subject: [PATCH] advpack: Make tests run on Win98 again. --- dlls/advpack/tests/files.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/advpack/tests/files.c b/dlls/advpack/tests/files.c index 669961712c0..8e0ea737208 100644 --- a/dlls/advpack/tests/files.c +++ b/dlls/advpack/tests/files.c @@ -239,7 +239,8 @@ static INT_PTR fci_open(char *pszFile, int oflag, int pmode, int *err, void *pv) 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;