[Lldb-commits] [lldb] r154731 - /lldb/branches/lldb-platform-work/source/Commands/CommandObjectPlatform.cpp
Enrico Granata
egranata at apple.com
Fri Apr 13 18:59:10 PDT 2012
Author: enrico
Date: Fri Apr 13 20:59:10 2012
New Revision: 154731
URL: http://llvm.org/viewvc/llvm-project?rev=154731&view=rev
Log:
Fixing a trivial problem that was preventing target installation from completing after the recent changes to the FileSpec API
Modified:
lldb/branches/lldb-platform-work/source/Commands/CommandObjectPlatform.cpp
Modified: lldb/branches/lldb-platform-work/source/Commands/CommandObjectPlatform.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/lldb-platform-work/source/Commands/CommandObjectPlatform.cpp?rev=154731&r1=154730&r2=154731&view=diff
==============================================================================
--- lldb/branches/lldb-platform-work/source/Commands/CommandObjectPlatform.cpp (original)
+++ lldb/branches/lldb-platform-work/source/Commands/CommandObjectPlatform.cpp Fri Apr 13 20:59:10 2012
@@ -1651,7 +1651,7 @@
if (source_type == FileSpec::eFileTypeDirectory)
{
FileSpec remote_folder(remote_sandbox.c_str(), false);
- remote_folder.AppendPathComponent(source.GetLastPathComponent());
+ remote_folder = remote_folder.AppendPathComponent(source.GetLastPathComponent());
// TODO: default permissions are bad
uint32_t errcode = platform_sp->MakeDirectory(remote_folder, 0777);
if (errcode != 0)
More information about the lldb-commits
mailing list