BUG: Handle buggy streams
This commit is contained in:
parent
5b638bb136
commit
0321dae07b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue