public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/3860: Writing wide string to wide stream segfaults
@ 2002-02-01 13:30 bkoz
  0 siblings, 0 replies; 8+ messages in thread
From: bkoz @ 2002-02-01 13:30 UTC (permalink / raw)
  To: amberarrow, bkoz, gcc-bugs, gcc-prs, kingleo, nobody

Synopsis: Writing wide string to wide stream segfaults

Responsible-Changed-From-To: unassigned->bkoz
Responsible-Changed-By: bkoz
Responsible-Changed-When: Fri Feb  1 13:30:36 2002
Responsible-Changed-Why:
    Mine.
State-Changed-From-To: suspended->analyzed
State-Changed-By: bkoz
State-Changed-When: Fri Feb  1 13:30:36 2002
State-Changed-Why:
    Will be fixed in 3.1

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


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

* Re: libstdc++/3860: Writing wide string to wide stream segfaults
@ 2002-02-19 18:08 bkoz
  0 siblings, 0 replies; 8+ messages in thread
From: bkoz @ 2002-02-19 18:08 UTC (permalink / raw)
  To: amberarrow, bkoz, gcc-bugs, gcc-prs, kingleo

Synopsis: Writing wide string to wide stream segfaults

State-Changed-From-To: feedback->closed
State-Changed-By: bkoz
State-Changed-When: Tue Feb 19 18:04:10 2002
State-Changed-Why:
    Fixed.

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


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

* Re: libstdc++/3860: Writing wide string to wide stream segfaults
@ 2002-02-07 17:49 bkoz
  0 siblings, 0 replies; 8+ messages in thread
From: bkoz @ 2002-02-07 17:49 UTC (permalink / raw)
  To: amberarrow, bkoz, gcc-bugs, gcc-prs, kingleo

Synopsis: Writing wide string to wide stream segfaults

State-Changed-From-To: analyzed->feedback
State-Changed-By: bkoz
State-Changed-When: Thu Feb  7 17:49:24 2002
State-Changed-Why:
    Please try this now, after:
    
    002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
    
    	libstdc++/5286
    	libstdc++/3860
    	* include/std/std_fstream.h (filebuf::__file_type): Change to
    	__basic_file<char>.
    	(filebuf::_M_convert_to_external): Declare.
    	* include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
    	codecvt bits for wide streams.
    	(filebuf::_M_really_overflow): Use it.
    	(filebuf::underflow): Use codecvt.
    	* config/locale/codecvt_specializations_ieee_1003.1-200x.h: 
    	(codecvt<__enc_traits>::do_out): Deal with partial.
    	(codecvt<__enc_traits>::do_encoding): Return something useful.
    	* src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
    	wchar_t.
    	* testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
    	Change expected encoding output.
    	(test02): Same.
    	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
    	(test02): Same.

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


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

* Re: libstdc++/3860: Writing wide string to wide stream segfaults
@ 2002-01-05  3:02 paolo
  0 siblings, 0 replies; 8+ messages in thread
From: paolo @ 2002-01-05  3:02 UTC (permalink / raw)
  To: amberarrow, gcc-bugs, gcc-prs, nobody, paolo

Synopsis: Writing wide string to wide stream segfaults

Responsible-Changed-From-To: paolo->unassigned
Responsible-Changed-By: paolo
Responsible-Changed-When: Sat Jan  5 03:02:01 2002
Responsible-Changed-Why:
    Too difficult for me...

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


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

* Re: libstdc++/3860: Writing wide string to wide stream segfaults
@ 2001-12-08  2:16 paolo
  0 siblings, 0 replies; 8+ messages in thread
From: paolo @ 2001-12-08  2:16 UTC (permalink / raw)
  To: paolo; +Cc: gcc-prs

The following reply was made to PR libstdc++/3860; it has been noted by GNATS.

From: paolo@gcc.gnu.org
To: amberarrow@yahoo.com, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org,
  gcc-prs@gcc.gnu.org, paolo@gcc.gnu.org
Cc:  
Subject: Re: libstdc++/3860: Writing wide string to wide stream segfaults
Date: 8 Dec 2001 10:11:42 -0000

 Synopsis: Writing wide string to wide stream segfaults
 
 State-Changed-From-To: analyzed->suspended
 State-Changed-By: paolo
 State-Changed-When: Sat Dec  8 02:11:42 2001
 State-Changed-Why:
     Wide output is still work in progress and using it is not
     supported presently.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=3860&database=gcc


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

* Re: libstdc++/3860: Writing wide string to wide stream segfaults
@ 2001-12-08  2:11 paolo
  0 siblings, 0 replies; 8+ messages in thread
From: paolo @ 2001-12-08  2:11 UTC (permalink / raw)
  To: amberarrow, gcc-bugs, gcc-gnats, gcc-prs, paolo

Synopsis: Writing wide string to wide stream segfaults

State-Changed-From-To: analyzed->suspended
State-Changed-By: paolo
State-Changed-When: Sat Dec  8 02:11:42 2001
State-Changed-Why:
    Wide output is still work in progress and using it is not
    supported presently.

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


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

* Re: libstdc++/3860: Writing wide string to wide stream segfaults
@ 2001-12-05  1:06 paolo
  0 siblings, 0 replies; 8+ messages in thread
From: paolo @ 2001-12-05  1:06 UTC (permalink / raw)
  To: paolo; +Cc: gcc-prs

The following reply was made to PR libstdc++/3860; it has been noted by GNATS.

From: paolo@gcc.gnu.org
To: amberarrow@yahoo.com, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org,
  gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, paolo@gcc.gnu.org
Cc:  
Subject: Re: libstdc++/3860: Writing wide string to wide stream segfaults
Date: 5 Dec 2001 08:58:42 -0000

 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


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

* Re: libstdc++/3860: Writing wide string to wide stream segfaults
@ 2001-12-05  0:58 paolo
  0 siblings, 0 replies; 8+ messages in thread
From: paolo @ 2001-12-05  0:58 UTC (permalink / raw)
  To: amberarrow, gcc-bugs, gcc-gnats, gcc-prs, nobody, paolo

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


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

end of thread, other threads:[~2002-02-20  2:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-01 13:30 libstdc++/3860: Writing wide string to wide stream segfaults bkoz
  -- strict thread matches above, loose matches on Subject: below --
2002-02-19 18:08 bkoz
2002-02-07 17:49 bkoz
2002-01-05  3:02 paolo
2001-12-08  2:16 paolo
2001-12-08  2:11 paolo
2001-12-05  1:06 paolo
2001-12-05  0:58 paolo

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