From 1ee3853fc97161ea74e4795d962587d1bd2bb674 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Wed, 20 Oct 2010 21:40:50 +0000 Subject: Fixed a crasher. The cmd_file needs to be resolved before reading lines from it. llvm-svn: 116948 --- lldb/source/Commands/CommandObjectCommands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Commands/CommandObjectCommands.cpp') diff --git a/lldb/source/Commands/CommandObjectCommands.cpp b/lldb/source/Commands/CommandObjectCommands.cpp index dd5ab32..3718658 100644 --- a/lldb/source/Commands/CommandObjectCommands.cpp +++ b/lldb/source/Commands/CommandObjectCommands.cpp @@ -70,7 +70,7 @@ public: result.AppendMessageWithFormat ("Executing commands in '%s'.\n", filename); - FileSpec cmd_file (filename, false); + FileSpec cmd_file (filename, true); if (cmd_file.Exists()) { STLStringArray commands; -- cgit v1.1