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:
parent
fd0c426ed0
commit
3ebe75f030
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue