[Lldb-commits] [lldb] r215265 - Fix a bug where SetFilePermissions was calling MakeDirectory.
Zachary Turner
zturner at google.com
Fri Aug 8 17:25:50 PDT 2014
Author: zturner
Date: Fri Aug 8 19:25:50 2014
New Revision: 215265
URL: http://llvm.org/viewvc/llvm-project?rev=215265&view=rev
Log:
Fix a bug where SetFilePermissions was calling MakeDirectory.
This appears to have been a copy / paste error.
Modified:
lldb/trunk/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
Modified: lldb/trunk/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp?rev=215265&r1=215264&r2=215265&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp (original)
+++ lldb/trunk/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp Fri Aug 8 19:25:50 2014
@@ -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);
}
More information about the lldb-commits
mailing list