This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/24217] filebuf.open call sets the error bits incorrectly



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]