From: hristov Date: Thu, 22 Apr 2004 09:53:14 +0000 (+0000) Subject: Changes needed on HP and Alpha X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=f65ac70b2727fe424661028e7c2ac0d0cbfef1c7;p=u%2Fmrichter%2FAliRoot.git Changes needed on HP and Alpha --- diff --git a/ITS/AliITSspdTestBeam.cxx b/ITS/AliITSspdTestBeam.cxx index 205f0e4b710..7d994ea6a17 100644 --- a/ITS/AliITSspdTestBeam.cxx +++ b/ITS/AliITSspdTestBeam.cxx @@ -198,7 +198,11 @@ Int_t AliITSspdTestBeam::OpenInputFile(const Char_t *filename,Int_t start,Int_t delete [] tmp; } // end if // Open file +#ifndef __DECCXX fFiles[fNfiles] = new ifstream(filename,ios::in|ios::binary); +#else + fFiles[fNfiles] = new ifstream(filename,ios::in); +#endif if(fFiles[fNfiles]==0){// file open error cout << "Error opening input file " << filename << endl; stat = -1; diff --git a/TPC/AliTPCDDLRawData.cxx b/TPC/AliTPCDDLRawData.cxx index 1b0633478f8..bbdbd513778 100644 --- a/TPC/AliTPCDDLRawData.cxx +++ b/TPC/AliTPCDDLRawData.cxx @@ -184,7 +184,11 @@ Int_t AliTPCDDLRawData::RawDataCompDecompress(Bool_t compress){ #else f.open(filename,ios::in); #endif +#if defined(__HP_aCC) || defined(__DECCXX) + if(!f.rdbuf()->is_open()){f.clear(); continue;} +#else if(!f.is_open()){f.clear(); continue;} +#endif if (fVerbose) Info("RawDataCompDecompress", "&s -> dest.ddl", filename); ofstream fdest;