projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6934e0a
)
Fix syntax error when building with editline support.
author
Zachary Turner
<zturner@google.com>
Sun, 19 Mar 2017 06:00:31 +0000
(06:00 +0000)
committer
Zachary Turner
<zturner@google.com>
Sun, 19 Mar 2017 06:00:31 +0000
(06:00 +0000)
llvm-svn: 298206
lldb/source/Host/common/Editline.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Host/common/Editline.cpp
b/lldb/source/Host/common/Editline.cpp
index
f8339d8
..
abaf4c9
100644
(file)
--- a/
lldb/source/Host/common/Editline.cpp
+++ b/
lldb/source/Host/common/Editline.cpp
@@
-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 {