b1aaf20e57
This is equivalent to line buffering, as C++ seems to lack a setvbuf equivalent which alows line buffering.