From 32064024b93d7d0b5225ac576b7684f604c352bf Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Tue, 20 Oct 2015 17:38:49 +0000 Subject: Fix potential file i/o problem with python handles. llvm-svn: 250838 --- lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp') diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp index a5f9b8fc48d..9efed0ad45a 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp +++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp @@ -605,6 +605,11 @@ PythonDictionary::CreateStructuredDictionary() const return result; } +PythonFile::PythonFile() + : PythonObject() +{ +} + PythonFile::PythonFile(File &file, const char *mode) { Reset(file, mode); -- cgit v1.2.3