Displaying 11 results from an estimated 11 matches for "wideto".
2018 Mar 22
4
[pre-RFC] Data races in concurrent ThinLTO processes
...td::system_category()) ||
+ EC == std::error_code(ERROR_NOT_SAME_DEVICE, std::system_category())) {
SmallVector<wchar_t, MAX_PATH> WideFrom;
if (std::error_code EC2 = realPathFromHandle(FromHandle, WideFrom))
return EC2;
if (::MoveFileExW(WideFrom.begin(), WideTo.begin(),
- MOVEFILE_REPLACE_EXISTING))
+ MOVEFILE_COPY_ALLOWED | MOVEFILE_REPLACE_EXISTING))
return std::error_code();
return mapWindowsError(GetLastError());
}
Note, that when the source and destination are located on the differen...
2018 Mar 27
2
[pre-RFC] Data races in concurrent ThinLTO processes
...== std::error_code(ERROR_NOT_SAME_DEVICE,
> std::system_category())) {*
> * SmallVector<wchar_t, MAX_PATH> WideFrom;*
> * if (std::error_code EC2 = realPathFromHandle(FromHandle,
> WideFrom))*
> * return EC2;*
> * if (::MoveFileExW(WideFrom.begin(), WideTo.begin(),*
> *- MOVEFILE_REPLACE_EXISTING))*
> *+ MOVEFILE_COPY_ALLOWED |
> MOVEFILE_REPLACE_EXISTING))*
> * return std::error_code();*
> * return mapWindowsError(GetLastError());*
> * }*
>
> Note, that when the...
2018 Mar 22
0
[pre-RFC] Data races in concurrent ThinLTO processes
...> + EC == std::error_code(ERROR_NOT_SAME_DEVICE, std::system_category())) {
> SmallVector<wchar_t, MAX_PATH> WideFrom;
> if (std::error_code EC2 = realPathFromHandle(FromHandle, WideFrom))
> return EC2;
> if (::MoveFileExW(WideFrom.begin(), WideTo.begin(),
> - MOVEFILE_REPLACE_EXISTING))
> + MOVEFILE_COPY_ALLOWED | MOVEFILE_REPLACE_EXISTING))
> return std::error_code();
> return mapWindowsError(GetLastError());
> }
>
> Note, that when the source and des...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...C == std::error_code(ERROR_NOT_SAME_DEVICE, std::system_category())) {
>> SmallVector<wchar_t, MAX_PATH> WideFrom;
>> if (std::error_code EC2 = realPathFromHandle(FromHandle, WideFrom))
>> return EC2;
>> if (::MoveFileExW(WideFrom.begin(), WideTo.begin(),
>> - MOVEFILE_REPLACE_EXISTING))
>> + MOVEFILE_COPY_ALLOWED | MOVEFILE_REPLACE_EXISTING))
>> return std::error_code();
>> return mapWindowsError(GetLastError());
>> }
>>
>> Note,...
2018 Mar 27
1
[pre-RFC] Data races in concurrent ThinLTO processes
...td::system_category()) ||
+ EC == std::error_code(ERROR_NOT_SAME_DEVICE, std::system_category())) {
SmallVector<wchar_t, MAX_PATH> WideFrom;
if (std::error_code EC2 = realPathFromHandle(FromHandle, WideFrom))
return EC2;
if (::MoveFileExW(WideFrom.begin(), WideTo.begin(),
- MOVEFILE_REPLACE_EXISTING))
+ MOVEFILE_COPY_ALLOWED | MOVEFILE_REPLACE_EXISTING))
return std::error_code();
return mapWindowsError(GetLastError());
}
Note, that when the source and destination are located on the differen...
2018 Mar 27
4
[pre-RFC] Data races in concurrent ThinLTO processes
...td::system_category()) ||
+ EC == std::error_code(ERROR_NOT_SAME_DEVICE, std::system_category())) {
SmallVector<wchar_t, MAX_PATH> WideFrom;
if (std::error_code EC2 = realPathFromHandle(FromHandle, WideFrom))
return EC2;
if (::MoveFileExW(WideFrom.begin(), WideTo.begin(),
- MOVEFILE_REPLACE_EXISTING))
+ MOVEFILE_COPY_ALLOWED | MOVEFILE_REPLACE_EXISTING))
return std::error_code();
return mapWindowsError(GetLastError());
}
Note, that when the source and destination are located on the differen...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...RROR_NOT_SAME_DEVICE,
> std::system_category())) {*
>
> * SmallVector<wchar_t, MAX_PATH> WideFrom;*
>
> * if (std::error_code EC2 = realPathFromHandle(FromHandle,
> WideFrom))*
>
> * return EC2;*
>
> * if (::MoveFileExW(WideFrom.begin(), WideTo.begin(),*
>
> *- MOVEFILE_REPLACE_EXISTING))*
>
> *+ MOVEFILE_COPY_ALLOWED |
> MOVEFILE_REPLACE_EXISTING))*
>
> * return std::error_code();*
>
> * return mapWindowsError(GetLastError());*
>
> * }*
>...
2018 Mar 27
2
[pre-RFC] Data races in concurrent ThinLTO processes
...td::system_category()) ||
+ EC == std::error_code(ERROR_NOT_SAME_DEVICE, std::system_category())) {
SmallVector<wchar_t, MAX_PATH> WideFrom;
if (std::error_code EC2 = realPathFromHandle(FromHandle, WideFrom))
return EC2;
if (::MoveFileExW(WideFrom.begin(), WideTo.begin(),
- MOVEFILE_REPLACE_EXISTING))
+ MOVEFILE_COPY_ALLOWED | MOVEFILE_REPLACE_EXISTING))
return std::error_code();
return mapWindowsError(GetLastError());
}
Note, that when the source and destination are located on the differen...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...> + EC == std::error_code(ERROR_NOT_SAME_DEVICE, std::system_category())) {
> SmallVector<wchar_t, MAX_PATH> WideFrom;
> if (std::error_code EC2 = realPathFromHandle(FromHandle, WideFrom))
> return EC2;
> if (::MoveFileExW(WideFrom.begin(), WideTo.begin(),
> - MOVEFILE_REPLACE_EXISTING))
> + MOVEFILE_COPY_ALLOWED | MOVEFILE_REPLACE_EXISTING))
> return std::error_code();
> return mapWindowsError(GetLastError());
> }
>
> Note, that when the source and des...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...RROR_NOT_SAME_DEVICE,
> std::system_category())) {*
>
> * SmallVector<wchar_t, MAX_PATH> WideFrom;*
>
> * if (std::error_code EC2 = realPathFromHandle(FromHandle,
> WideFrom))*
>
> * return EC2;*
>
> * if (::MoveFileExW(WideFrom.begin(), WideTo.begin(),*
>
> *- MOVEFILE_REPLACE_EXISTING))*
>
> *+ MOVEFILE_COPY_ALLOWED |
> MOVEFILE_REPLACE_EXISTING))*
>
> * return std::error_code();*
>
> * return mapWindowsError(GetLastError());*
>
> * }*
>...
2018 Mar 27
1
[pre-RFC] Data races in concurrent ThinLTO processes
...td::system_category()) ||
+ EC == std::error_code(ERROR_NOT_SAME_DEVICE, std::system_category())) {
SmallVector<wchar_t, MAX_PATH> WideFrom;
if (std::error_code EC2 = realPathFromHandle(FromHandle, WideFrom))
return EC2;
if (::MoveFileExW(WideFrom.begin(), WideTo.begin(),
- MOVEFILE_REPLACE_EXISTING))
+ MOVEFILE_COPY_ALLOWED | MOVEFILE_REPLACE_EXISTING))
return std::error_code();
return mapWindowsError(GetLastError());
}
Note, that when the source and destination are located on the differen...