Re: [ROOT] Trouble with TString after upgrade from 3.00.04 to 3.00.06

From: Andreas Zoglauer (zog@mpe.mpg.de)
Date: Tue Apr 10 2001 - 15:45:50 MEST


Hi Andre,


Thanks, your solution works. 

If I get you right, you think this is a bug in libc.
Have you any idea why this problem never appeared in ROOT versions below 
3.00.04? I use the strstream class VERY frequently in my programs and the 
problem never appeared. 


Andreas


Andre Holzner wrote:
> ...
> I just tried your example on lxplus using the afs version of root
> (seems to be Version   3.00/06     12 March 2001), I get a similar
> output.
> However (and I think I saw a warning somewhere in a info file on the
> libc,
> that you actually have to do this), if you modify 
> 
>   Test<<"Testing strstream class...";
> 
> to
> 
>   Test<<"Testing strstream class..." << '\0';
> 
> it produces the correct output (i.e. only up to the ...)
> ...



----------------------------------------------------------------------
Andreas Zoglauer
MPI fuer extraterrestrische Physik         Phone:    +49/89-30000-3848
Giessenbachstr.                            Fax:      +49/89-30000-3569
85740 Garching, Germany                    Email:    zog@mpe.mpg.de
----------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:41 MET