Fix bug with temporary files on Windows

This commit is contained in:
Justine Tunney 2023-08-13 07:10:14 -07:00
parent ab9a284640
commit 6942d7b820
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
45 changed files with 55 additions and 58 deletions

View file

@ -100,7 +100,6 @@ textwindows int GetNtOpenFlags(int flags, int mode, uint32_t *out_perm,
if (flags & _O_SEQUENTIAL) attr |= kNtFileFlagSequentialScan;
if (flags & _O_RANDOM) attr |= kNtFileFlagRandomAccess;
if (flags & _O_DIRECT) attr |= kNtFileFlagNoBuffering;
if (flags & _O_NDELAY) attr |= kNtFileFlagWriteThrough;
if (out_perm) *out_perm = perm;
if (out_share) *out_share = share;