Fix a bug where SetFilePermissions was calling MakeDirectory.
This appears to have been a copy / paste error. llvm-svn: 215265
This commit is contained in:
parent
408d2152c4
commit
1cfb98abb2
|
|
@ -109,7 +109,7 @@ Error
|
|||
PlatformPOSIX::SetFilePermissions (const char *path, uint32_t file_permissions)
|
||||
{
|
||||
if (m_remote_platform_sp)
|
||||
return m_remote_platform_sp->MakeDirectory(path, file_permissions);
|
||||
return m_remote_platform_sp->SetFilePermissions(path, file_permissions);
|
||||
else
|
||||
return Platform::SetFilePermissions(path ,file_permissions);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue