Hi Stafan, is the Sun version also 2.00/13? Or do you have the debug<>0 in .rootrc on the Sun? I can not see another reason why gDebug would be otherwise true on the Sun. Cheers, Fons. stefan kluth wrote: > > Hi, > > I noticed that the behaviour of TFile::Write in root 2.00/13 is different > between the DEC unix and SunOS versions of root. The difference is that > TFile::Write on SunOS *always* prints a message like: > > TFile Writing Name=file1.root Title=Created for you by RooTupleManager > > while on DEC unix this is controlled by the value of the global gDebug. If > gDebug==0 the message is not printed, and vice versa. > > The relevant source code from BASE_File.cxx for TFile::Write looks like > this (version 2.00/13): > > ... > if (gDebug) { > if (!GetTitle() || strlen(GetTitle()) == 0) > Printf("TFile Writing Name=%s", GetName()); > else > Printf("TFile Writing Name=%s Title=%s", GetName(), GetTitle()); > } > ... > > >From this I conclude that the behaviour on DEC unix is right, and that > SunOS is wrong, right? > > cheers, Stefan > > ---Stefan Kluth---------------Lynen Fellow----------------|\--|\------- > - LBNL, MS 50A 2160 - phone: +1 510 495 2376 - |/ |/ - > - 1 Cyclotron Rd. - fax: +1 510 495 2957 - |\/\|\/\|' - > ---Berkeley, CA94720, USA-----e-mail: SKluth@lbl.gov------|/\/|/\/|---- -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland Phone: +41 22 7679248 E-Mail: Fons.Rademakers@cern.ch Fax: +41 22 7677910
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:40 MET