msi: Make tests run on Win98 again.
This commit is contained in:
parent
70e3bf15cb
commit
feb7990b49
|
@ -250,7 +250,8 @@ static INT_PTR fci_open(char *pszFile, int oflag, int pmode, int *err, void *pv)
|
||||||
DWORD dwCreateDisposition = OPEN_EXISTING;
|
DWORD dwCreateDisposition = OPEN_EXISTING;
|
||||||
|
|
||||||
dwAccess = GENERIC_READ | GENERIC_WRITE;
|
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)
|
if (GetFileAttributesA(pszFile) != INVALID_FILE_ATTRIBUTES)
|
||||||
dwCreateDisposition = OPEN_EXISTING;
|
dwCreateDisposition = OPEN_EXISTING;
|
||||||
|
|
Loading…
Reference in New Issue