commit | 5892856b0cd6591194c669afab5bf9ac19c5b3a0 | [log] [tgz] |
---|---|---|
author | Greg Clayton <gclayton@apple.com> | Wed Feb 09 01:08:52 2011 +0000 |
committer | Greg Clayton <gclayton@apple.com> | Wed Feb 09 01:08:52 2011 +0000 |
tree | 067ddbb7c181ca53df71741db21637cef96890b5 | |
parent | ee9b1f7a1b52427f8ac3ae43d8064f10add803b1 [diff] [blame] |
Use Host::File in lldb_private::StreamFile and other places to cleanup host layer a bit more. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@125149 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectMemory.cpp b/source/Commands/CommandObjectMemory.cpp index 3020c01..949cadc 100644 --- a/source/Commands/CommandObjectMemory.cpp +++ b/source/Commands/CommandObjectMemory.cpp
@@ -347,7 +347,7 @@ if (m_options.m_append_to_outfile) mode[0] = 'a'; - if (outfile_stream.Open (path, mode)) + if (outfile_stream.GetFile ().Open (path, File::eOpenOptionWrite | File::eOpenOptionCanCreate).Success()) { if (m_options.m_output_as_binary) {