Don't use FILE_FLAG_OPEN_REPARSE_POINT with UWP.

This commit is contained in:
levlam 2023-01-10 22:56:11 +03:00
parent d7ea7dfea7
commit 853030e999

View File

@ -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) {