Revert "Add a read_full_buffer argument to ConnectionFileDescriptor::Read"
This reverts commit r268380 as it breaks windows build (I forgot to make neccesary adjustments to
ConnectionGenericFileWindows).
llvm-svn: 268384
diff --git a/lldb/source/Core/Communication.cpp b/lldb/source/Core/Communication.cpp
index 7d88a63..557fb95 100644
--- a/lldb/source/Core/Communication.cpp
+++ b/lldb/source/Core/Communication.cpp
@@ -191,8 +191,7 @@
lldb::ConnectionSP connection_sp (m_connection_sp);
if (connection_sp)
{
- const bool read_full_buffer = false;
- return connection_sp->Read(dst, dst_len, timeout_usec, read_full_buffer, status, error_ptr);
+ return connection_sp->Read (dst, dst_len, timeout_usec, status, error_ptr);
}
if (error_ptr)
@@ -327,8 +326,7 @@
Error *error_ptr)
{
lldb::ConnectionSP connection_sp(m_connection_sp);
- const bool read_full_buffer = false;
- return (connection_sp ? connection_sp->Read(dst, dst_len, read_full_buffer, timeout_usec, status, error_ptr) : 0);
+ return (connection_sp ? connection_sp->Read(dst, dst_len, timeout_usec, status, error_ptr) : 0);
}
bool