mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 12:49:50 -05:00
BUG: Handle buggy streams
This commit is contained in:
@@ -393,6 +393,10 @@ public:
|
||||
|
||||
inline std::ostream& operator<< (std::ostream& os, const cmCTestLogWrite& c)
|
||||
{
|
||||
if (!c.Length)
|
||||
{
|
||||
return os;
|
||||
}
|
||||
os.write(c.Data, c.Length);
|
||||
os.flush();
|
||||
return os;
|
||||
|
||||
Reference in New Issue
Block a user