commit | a83ea887f6165d59cfeac1bbb96011f3b0568af8 | [log] [tgz] |
---|---|---|
author | Johnny Chen <johnny.chen@apple.com> | Wed Oct 20 21:40:50 2010 +0000 |
committer | Johnny Chen <johnny.chen@apple.com> | Wed Oct 20 21:40:50 2010 +0000 |
tree | b78761d6e5120d6bf793bc8bdf1ac56c99f23239 | |
parent | 537a7a86687683fd403ce652d178fbc89e06ef9f [diff] [blame] |
Fixed a crasher. The cmd_file needs to be resolved before reading lines from it. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116948 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectCommands.cpp b/source/Commands/CommandObjectCommands.cpp index dd5ab32..3718658 100644 --- a/source/Commands/CommandObjectCommands.cpp +++ b/source/Commands/CommandObjectCommands.cpp
@@ -70,7 +70,7 @@ result.AppendMessageWithFormat ("Executing commands in '%s'.\n", filename); - FileSpec cmd_file (filename, false); + FileSpec cmd_file (filename, true); if (cmd_file.Exists()) { STLStringArray commands;