This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/81751] __basic_file::sync() may flush _all_ files
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 09 Aug 2017 16:39:06 +0000
- Subject: [Bug libstdc++/81751] __basic_file::sync() may flush _all_ files
- Auto-submitted: auto-generated
- References: <bug-81751-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81751
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Or just call fflush(__file) directly:
https://gcc.gnu.org/ml/gcc-patches/2017-08/msg00673.html