[Lldb-commits] [lldb] r244935 - Remove raw_svector_ostream::flush() call following r244928.

Yaron Keren via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 13 11:42:30 PDT 2015


Author: yrnkrn
Date: Thu Aug 13 13:42:29 2015
New Revision: 244935

URL: http://llvm.org/viewvc/llvm-project?rev=244935&view=rev
Log:
Remove raw_svector_ostream::flush() call following r244928.


Modified:
    lldb/trunk/source/Host/posix/HostInfoPosix.cpp

Modified: lldb/trunk/source/Host/posix/HostInfoPosix.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/posix/HostInfoPosix.cpp?rev=244935&r1=244934&r2=244935&view=diff
==============================================================================
--- lldb/trunk/source/Host/posix/HostInfoPosix.cpp (original)
+++ lldb/trunk/source/Host/posix/HostInfoPosix.cpp Thu Aug 13 13:42:29 2015
@@ -217,7 +217,6 @@ HostInfoPosix::ComputePythonDirectory(Fi
     llvm::SmallString<256> python_version_dir;
     llvm::raw_svector_ostream os(python_version_dir);
     os << "/python" << PY_MAJOR_VERSION << '.' << PY_MINOR_VERSION << "/site-packages";
-    os.flush();
 
     // We may get our string truncated. Should we protect this with an assert?
     ::strncat(raw_path, python_version_dir.c_str(), sizeof(raw_path) - strlen(raw_path) - 1);




More information about the lldb-commits mailing list