This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/24217] filebuf.open call sets the error bits incorrectly
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Oct 2005 12:27:19 -0000
- Subject: [Bug libstdc++/24217] filebuf.open call sets the error bits incorrectly
- References: <bug-24217-11468@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pcarlini at suse dot de 2005-10-06 12:27 -------
Hi. Certaintly, we cannot hope to debug further the issue without a proper,
self-contained, piece of code useful to reproduce the problem: this is a
strict requirement for any PR, in particular for very hard to reproduce
issues related to MT. That said, I'm afraid you are assuming a level of MT
safety that we don't (wo don't *want*, I would say, but this is very large
topic and the actual guarantees are also highly dependent on the underlying
libc, which we don't control, unfortunately) provide: for example, if running
your application single-threaded or protecting the filebuf operations with a
mutex avoids the problem, then very likely we would not consider the behavior
a bug.
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24217