[LLDB][Python] fix another fflush issue on NetBSD
authorLawrence D'Anna <lawrence_danna@apple.com>
Tue, 29 Oct 2019 04:59:04 +0000 (21:59 -0700)
committerLawrence D'Anna <lawrence_danna@apple.com>
Tue, 29 Oct 2019 16:41:22 +0000 (09:41 -0700)
commit6a93a12a8dd98291225a282b5b8f3c97e68ebe49
tree8c434bc0d961e94ad245051106c1205f69eeedbe
parent5503455ccb3f5fcedced158332c016c8d3a7fa81
[LLDB][Python] fix another fflush issue on NetBSD

Summary:
Here's another instance where we were calling fflush on an input
stream, which is illegal on NetBSD.

Reviewers: labath, mgorny

Reviewed By: mgorny

Subscribers: krytarowski, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D69488
lldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
lldb/source/Host/common/File.cpp
lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h