From: hristov Date: Mon, 1 Nov 2004 09:06:20 +0000 (+0000) Subject: Intermediate call to rdbuf on HP and Alpha X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=5e9e353e44ddb4410ed6c8b9630b64a2e6b701f9 Intermediate call to rdbuf on HP and Alpha --- diff --git a/JETAN/AliJetParticlesReaderKineGoodTPC.cxx b/JETAN/AliJetParticlesReaderKineGoodTPC.cxx index ff43682571d..10f0cdb3a13 100644 --- a/JETAN/AliJetParticlesReaderKineGoodTPC.cxx +++ b/JETAN/AliJetParticlesReaderKineGoodTPC.cxx @@ -127,7 +127,11 @@ Int_t AliJetParticlesReaderKineGoodTPC::OpenFile(Int_t n) TString filename = dirname +"/"+ fFileName; fInput=new ifstream(filename); +#if defined(__HP_aCC) || defined(__DECCXX) + if ( fInput->rdbuf()->is_open() == 0) +#else if ( fInput->is_open() == 0) +#endif { Error("OpenNextFile","Can't open session from file %s",filename.Data()); return kFALSE;