This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/35763] std::cout loses whole blocks of output if interrupted by signal without SA_RESTART
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Mar 2008 09:24:14 -0000
- Subject: [Bug libstdc++/35763] std::cout loses whole blocks of output if interrupted by signal without SA_RESTART
- References: <bug-35763-10271@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pcarlini at suse dot de 2008-03-30 09:24 -------
This is tightly coupled to libstdc++/35353: in the current design, when
sync_with_stdio is false (by default), the stream is non-converting and synced
with C stdio, simply forwards to stdio functions. Unfortunately, the fix is not
forthcoming, there are very serious performance implications, and binary
compatibility issues (which probably can be solve only by breaking the ABI).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35763