Index: lldb/trunk/source/Host/common/HostInfoBase.cpp =================================================================== --- lldb/trunk/source/Host/common/HostInfoBase.cpp +++ lldb/trunk/source/Host/common/HostInfoBase.cpp @@ -334,7 +334,7 @@ // Make an atexit handler to clean up the process specify LLDB temp dir // and all of its contents. ::atexit(CleanupProcessSpecificLLDBTempDir); - file_spec = temp_file_spec; + file_spec.GetDirectory().SetCString(temp_file_spec.GetCString()); return true; } @@ -370,7 +370,7 @@ if (!FileSystem::MakeDirectory(temp_file_spec, eFilePermissionsDirectoryDefault).Success()) return false; - file_spec = temp_file_spec; + file_spec.GetDirectory().SetCString(temp_file_spec.GetCString()); return true; }