Intermediate call to rdbuf on HP and Alpha
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 1 Nov 2004 09:06:20 +0000 (09:06 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 1 Nov 2004 09:06:20 +0000 (09:06 +0000)
JETAN/AliJetParticlesReaderKineGoodTPC.cxx

index ff43682571d022b9b651bfae3de1aaee3c14b36d..10f0cdb3a132271e8653c1d3e9556555dbfd1876 100644 (file)
@@ -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;