1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00

Windows: ensured that File::replaceInternal does not fail with ACL errors

This commit is contained in:
hogliux 2018-04-03 09:51:07 +01:00
parent fd0c426ed0
commit 3ebe75f030

View file

@ -236,7 +236,8 @@ bool File::replaceInternal (const File& dest) const
void* lpReserved = 0;
return ReplaceFile (dest.getFullPathName().toWideCharPointer(), fullPath.toWideCharPointer(),
0, REPLACEFILE_IGNORE_MERGE_ERRORS, lpExclude, lpReserved) != 0;
0, REPLACEFILE_IGNORE_MERGE_ERRORS | REPLACEFILE_IGNORE_ACL_ERRORS,
lpExclude, lpReserved) != 0;
}
Result File::createDirectoryInternal (const String& fileName) const