mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-14 03:45:33 +00:00
Fix syntax error when building with editline support.
llvm-svn: 298206
This commit is contained in:
parent
6934e0aaa7
commit
6c8255e831
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user