Don't use FILE_FLAG_OPEN_REPARSE_POINT with UWP.
This commit is contained in:
parent
d7ea7dfea7
commit
853030e999
@ -199,7 +199,9 @@ Result<FileFd> FileFd::open(CSlice filepath, int32 flags, int32 mode) {
|
|||||||
} else {
|
} else {
|
||||||
creation_disposition = OPEN_EXISTING;
|
creation_disposition = OPEN_EXISTING;
|
||||||
}
|
}
|
||||||
|
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
|
||||||
native_flags |= FILE_FLAG_OPEN_REPARSE_POINT;
|
native_flags |= FILE_FLAG_OPEN_REPARSE_POINT;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if (flags & Direct) {
|
if (flags & Direct) {
|
||||||
|
Loading…
Reference in New Issue
Block a user