diff options
author | Zachary Turner <zturner@google.com> | 2015-10-20 17:38:49 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2015-10-20 17:38:49 +0000 |
commit | 32064024b93d7d0b5225ac576b7684f604c352bf (patch) | |
tree | 90735d08ed9c5e80a9d01ad590becd9f8dea30d8 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
parent | cffe8caed3d1c5ba85948d70efa5bee24dd2f334 (diff) | |
download | bcm5719-llvm-32064024b93d7d0b5225ac576b7684f604c352bf.tar.gz bcm5719-llvm-32064024b93d7d0b5225ac576b7684f604c352bf.zip |
Fix potential file i/o problem with python handles.
llvm-svn: 250838
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
-rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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); |