Changeset 14853 for trunk/Mars/mbase
- Timestamp:
- 02/04/13 09:59:33 (12 years ago)
- Location:
- trunk/Mars/mbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mbase/MDirIter.cc
r13078 r14853 176 176 } 177 177 178 Int_t MDirIter::ReadList(const char *name) 179 { 180 TString fname(name); 178 Int_t MDirIter::ReadList(const char *name, const TString &path) 179 { 180 const char *con = gSystem->ConcatFileName(path.Data(), name); 181 TString fname(path.IsNull() ? name : con); 182 delete [] con; 183 181 184 gSystem->ExpandPathName(fname); 182 185 -
trunk/Mars/mbase/MDirIter.h
r13078 r14853 48 48 } 49 49 50 Int_t ReadList(const char *fname );50 Int_t ReadList(const char *fname, const TString &path=""); 51 51 void Sort(); 52 52
Note:
See TracChangeset
for help on using the changeset viewer.