[Lldb-commits] [lldb] r298206 - Fix syntax error when building with editline support.
Zachary Turner via lldb-commits
lldb-commits at lists.llvm.org
Sat Mar 18 23:00:32 PDT 2017
Author: zturner
Date: Sun Mar 19 01:00:31 2017
New Revision: 298206
URL: http://llvm.org/viewvc/llvm-project?rev=298206&view=rev
Log:
Fix syntax error when building with editline support.
Modified:
lldb/trunk/source/Host/common/Editline.cpp
Modified: lldb/trunk/source/Host/common/Editline.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/Editline.cpp?rev=298206&r1=298205&r2=298206&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/Editline.cpp (original)
+++ lldb/trunk/source/Host/common/Editline.cpp Sun Mar 19 01:00:31 2017
@@ -178,7 +178,7 @@ private:
if (m_path.empty() && m_history && !m_prefix.empty()) {
FileSpec parent_path{"~/.lldb", true};
char history_path[PATH_MAX];
- if (!llvm::sys::fs::create_directory(parent_path.GetPath()) {
+ if (!llvm::sys::fs::create_directory(parent_path.GetPath())) {
snprintf(history_path, sizeof(history_path), "~/.lldb/%s-history",
m_prefix.c_str());
} else {
More information about the lldb-commits
mailing list