Skip to content

Commit

Permalink
share flag fixed for CreateFile (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
datacore-skumar authored Apr 28, 2021
1 parent 69bd966 commit f970eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/libspl/os/windows/posix.c
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ wosix_open(const char *inpath, int oflag, ...)
HANDLE h;
DWORD mode = GENERIC_READ; // RDONLY=0, WRONLY=1, RDWR=2;
DWORD how = OPEN_EXISTING;
DWORD share = FILE_SHARE_READ;
DWORD share = FILE_SHARE_READ | FILE_SHARE_WRITE;
char otherpath[MAXPATHLEN];
char *path = inpath;

Expand Down

0 comments on commit f970eb7

Please sign in to comment.