In Notify, correct handling of the local case where the path is empty. (R. Arnaldi...
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 27 Nov 2008 10:39:39 +0000 (10:39 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 27 Nov 2008 10:39:39 +0000 (10:39 +0000)
STEER/AliESDInputHandler.cxx

index 743aef8..e2261df 100644 (file)
@@ -143,8 +143,11 @@ Bool_t AliESDInputHandler::Notify(const char* path)
     }
 
     
-    TString* pathName = new TString("./");
-    *pathName = fileName;
+   TString* pathName = new TString("./");
+   if (fileName.Length() != 0) {
+       *pathName = fileName;
+   }
+
     printf("AliESDInputHandler::Notify() Path: %s\n", pathName->Data());
     
     if (fRunTag) {