advpack: Make tests run on Win98 again.

This commit is contained in:
Paul Vriens 2006-10-06 11:41:28 +02:00 committed by Alexandre Julliard
parent 5c89858539
commit 06e0766910
1 changed files with 2 additions and 1 deletions

View File

@ -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;