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.h | |
parent | cffe8caed3d1c5ba85948d70efa5bee24dd2f334 (diff) | |
download | llvm-32064024b93d7d0b5225ac576b7684f604c352bf.zip llvm-32064024b93d7d0b5225ac576b7684f604c352bf.tar.gz llvm-32064024b93d7d0b5225ac576b7684f604c352bf.tar.bz2 |
Fix potential file i/o problem with python handles.
llvm-svn: 250838
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
-rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h index 2fc6c1c..eff2efa 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h @@ -334,6 +334,7 @@ public: class PythonFile : public PythonObject { public: + PythonFile(); PythonFile(File &file, const char *mode); PythonFile(const char *path, const char *mode); PythonFile(PyRefType type, PyObject *o); |