bitcoin/bitcoin — pull request #4892 by ajweiss (2014-09-10 16:35:53+00:00)
Title: Use explicit fflush() instead of setvbuf()

Flushing after every line when printing to console is desirable when
running with systemd but setvbuf() has slightly different semantics
on Windows that causes warnings. Just do an explicit fflush() after
each line print to console instead.

Fixes https://github.com/bitcoin/bitcoin/issues/4884