http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57920
Florian Philipp <gnu at binarywings dot net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gnu at binarywings dot net --- Comment #9 from Florian Philipp <gnu at binarywings dot net> --- Created attachment 32110 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32110&action=edit Patch without POSIX I/O I find the original patch as applied to mainline unnecessarily complicated. You can achieve the same just with std I/O by deactivating buffering with std::setbuf. Basically a one line change when applied to the original version.