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]

Re: libstdc++/3860: Writing wide string to wide stream segfaults


Synopsis: Writing wide string to wide stream segfaults

Responsible-Changed-From-To: unassigned->paolo
Responsible-Changed-By: paolo
Responsible-Changed-When: Wed Dec  5 00:58:41 2001
Responsible-Changed-Why:
    On i686-pc-linux-gnu (3.0.2 and 3.1 current) there is no
    segfault but the output is wrong: "he" (ASCII "h" 00
    00 00 "e" 00) instead of the expected "hello".
    Changing the testcase to use std::wcout instead of a
    wofstream leads to the correct output.
State-Changed-From-To: open->analyzed
State-Changed-By: paolo
State-Changed-When: Wed Dec  5 00:58:41 2001
State-Changed-Why:
    Investigating.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=3860&database=gcc


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