This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/5396: ifstream read()'s data multiple times on Solaris
- From: Craig Rodrigues <rodrigc at attbi dot com>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 20 Apr 2002 12:46:01 -0000
- Subject: Re: libstdc++/5396: ifstream read()'s data multiple times on Solaris
- Reply-to: Craig Rodrigues <rodrigc at attbi dot com>
The following reply was made to PR libstdc++/5396; it has been noted by GNATS.
From: Craig Rodrigues <rodrigc@attbi.com>
To: jakub@unthought.net, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
anderson@ligo.caltech.edu, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org
Cc:
Subject: Re: libstdc++/5396: ifstream read()'s data multiple times on Solaris
Date: Sat, 20 Apr 2002 08:40:40 -0400
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5396
Submitted by jakub@unthought.net:
On Thu, Apr 18, 2002 at 07:58:11AM -0400, Andras Pataki wrote:
> Last week I investigated the problem I was experiencing some more and
> found a solution. We installed a Solaris linker patch (as part of a
> larger patch set) which seems to have solved the problem for me.
>
> Here are the patch numbers for the various versions of Solaris. It's
> worth giving a try:
> 103627 - Solaris 2.5.1
> 107733 - Solaris 2.6
> 106950 - Solaris 7
> 109147 - Solaris 8
>
Great ! Thanks, I will give this a try over the weekend.
So far I have solved the problem by simple changing the structure of
the exceptions that I throw.
Previously, the exception that caused the problem was a class inherited
from another class, again inherited from a base. By only throwing
exceptions
inherited directly from the base, the problem disappears.
Thanks,
/ jakob