Fork me on GitHub

Changeset d97a18b in git


Ignore:
Timestamp:
Apr 7, 2017, 5:45:28 PM (8 years ago)
Author:
Pavel Demin <pavel-demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
2871513
Parents:
d94dfcf
Message:

replace dirname with gSystem->DirName in ExRootConfReader.cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • external/ExRootAnalysis/ExRootConfReader.cc

    rd94dfcf rd97a18b  
    1212#include "tcl/tcl.h"
    1313
    14 #include <libgen.h>
     14#include "TSystem.h"
    1515
    1616#include <iostream>
     
    5757  }
    5858
    59   if(isTop) fTopDir = dirname(const_cast<char *>(fileName));
     59  if(isTop) fTopDir = gSystem->DirName(fileName);
    6060
    6161  int file_length = inputFileStream.tellg();
Note: See TracChangeset for help on using the changeset viewer.