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

From: Andre Holzner (Andre.Holzner@cern.ch)
Date: Tue Apr 10 2001 - 10:48:35 MEST


Hi,

Andreas Zoglauer wrote:
> 
> Hi,
> 
> After the upgrade from version 3.00.04 to 3.00.06 I experienced some
> trouble with the TString class which is frequiently but not always
> reproduced by the following example running on SuSE 7.1 (or 6.4, 7.0):
> 
...

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


best regards,

André


-- 
------------------+----------------------------------
Andre Holzner     | +41 22 76 76750 
Bureau 32 2-C13   | Building 32     
CERN              | Office 2-C13    
CH-1211 Geneve 23 | http://wwweth.cern.ch/~holzner/



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