public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/13171] New: Bugs in basic_filebuf::imbue
@ 2003-11-24  9:43 peturr02 at ru dot is
  2003-11-24  9:44 ` [Bug libstdc++/13171] " peturr02 at ru dot is
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: peturr02 at ru dot is @ 2003-11-24  9:43 UTC (permalink / raw)
  To: gcc-bugs

basic_filebuf::imbue hasn't been updated to handle the fix for PR 13007.

1) If pubimbue is called twice with two different locales with the same
  name, _M_codecvt points to the (possibly destroyed) facet from the first
  locale.

2) If pubimbue is called when a pipe is open, imbue doesn't update
  _M_codecvt, so it points to the facet from the old locale.

3) The same thing happens with cin, cout etc.

4) If the old locale has a stateful encoding, imbue does not update
  _M_codecvt, even if at the beginning of the file.

-- 
           Summary: Bugs in basic_filebuf::imbue
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: peturr02 at ru dot is
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13171


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2003-12-04  9:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-24  9:43 [Bug libstdc++/13171] New: Bugs in basic_filebuf::imbue peturr02 at ru dot is
2003-11-24  9:44 ` [Bug libstdc++/13171] " peturr02 at ru dot is
2003-11-24  9:44 ` peturr02 at ru dot is
2003-11-24  9:45 ` peturr02 at ru dot is
2003-11-24  9:45 ` peturr02 at ru dot is
2003-11-24 12:33 ` paolo at gcc dot gnu dot org
2003-11-26 15:34 ` peturr02 at ru dot is
2003-11-26 15:50 ` paolo at gcc dot gnu dot org
2003-11-26 15:56 ` cvs-commit at gcc dot gnu dot org
2003-11-26 16:04 ` paolo at gcc dot gnu dot org
2003-11-28  2:32 ` danglin at gcc dot gnu dot org
2003-12-04  9:49 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).