Hi,
I hope I've definitely fixed the problem when one tries to open a file
that does not exist with BrEventIO
In the previous fixe, there was only a check on the pointer validity
(fROOTFile), in a few words:
  fROOTFile = new TFile("some file", "READ");
  if (!fROOTFile)
     return kFALSE
but of course, the pointer will exist (because of the new operator).
(you can also try in a root session:
   f = TFile::Open("i_dont_exist.root");
the pointer f will be perfectly valid.)
i've added something like
  if (!fROOTFile->IsOpen())
     return kFALSE
It doesn't crash anymore.
Ciao
Djam
-- 
Djamel Ouerdane ------------------------------------------o
|  Niels Bohr Intstitute     |  Home:                     |
|  Blegdamsvej 17, DK-2100 Ø |  Jagtvej 141 2D,           |
|  Fax: +45 35 32 50 16      |  DK-2200 Copenhagen N      |
|  Tel: +45 35 32 52 69      |  +45 35 86 19 74           |
|                  http://www.nbi.dk/~ouerdane            |
|                  ouerdane@nbi.dk                        |
o---------------------------------------------------------o
This archive was generated by hypermail 2b30 : Mon Aug 13 2001 - 12:54:33 EDT