libstdc++/2832
bkoz@gcc.gnu.org
bkoz@gcc.gnu.org
Tue May 22 17:36:00 GMT 2001
The following reply was made to PR libstdc++/2832; it has been noted by GNATS.
From: bkoz@gcc.gnu.org
To: bkoz@gcc.gnu.org, gcc-gnats@gcc.gnu.org, kenny.simpson@gs.com,
nobody@gcc.gnu.org, theonetruekenny@yahoo.com
Cc:
Subject: Re: libstdc++/2832
Date: 23 May 2001 00:27:50 -0000
Synopsis: rdbuf methods incorrect
Responsible-Changed-From-To: unassigned->bkoz
Responsible-Changed-By: bkoz
Responsible-Changed-When: Tue May 22 17:27:50 2001
Responsible-Changed-Why:
Responsible
State-Changed-From-To: open->analyzed
State-Changed-By: bkoz
State-Changed-When: Tue May 22 17:27:50 2001
State-Changed-Why:
This seems to be two bugs:
1) pointers returned by rdbuf() not the same
2) [io]stringstream/[io]fstream dtors delete streambuf object.
I don't see where, in the standard #1 is guaranteed. Perhaps you can point this out to me/
I do agree that #2 is a problem, and am working on a fix now.
thanks,
benjamin
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2832&database=gcc
More information about the Gcc-prs
mailing list