mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-07-20 19:44:27 +08:00
Work on CI support for MingW
This commit is contained in:
parent
68b2083e0d
commit
3a9931fe6e
@ -1568,7 +1568,7 @@ GHC_INLINE path resolveSymlink(const path& p, std::error_code& ec)
|
|||||||
}
|
}
|
||||||
|
|
||||||
char buffer[MAXIMUM_REPARSE_DATA_BUFFER_SIZE] = {0};
|
char buffer[MAXIMUM_REPARSE_DATA_BUFFER_SIZE] = {0};
|
||||||
REPARSE_DATA_BUFFER& reparseData = *reinterpret_cast<const REPARSE_DATA_BUFFER*>(buffer);
|
REPARSE_DATA_BUFFER& reparseData = *reinterpret_cast<const REPARSE_DATA_BUFFER*>((void*)buffer);
|
||||||
ULONG bufferUsed;
|
ULONG bufferUsed;
|
||||||
path result;
|
path result;
|
||||||
if (DeviceIoControl(file.get(), FSCTL_GET_REPARSE_POINT, 0, 0, &reparseData, sizeof(buffer), &bufferUsed, 0)) {
|
if (DeviceIoControl(file.get(), FSCTL_GET_REPARSE_POINT, 0, 0, &reparseData, sizeof(buffer), &bufferUsed, 0)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user