656 |
if (!in.good()) break; |
if (!in.good()) break; |
657 |
line++; |
line++; |
658 |
// cout <<"(1) " << file << endl; |
// cout <<"(1) " << file << endl; |
|
if(file.Contains("#"))file = file(0,file.First("#")); |
|
|
// cout <<"(2) " << file << endl; |
|
659 |
if(file.IsNull()){ |
if(file.IsNull()){ |
660 |
cout << "-- list interrupted at line "<<line <<endl; |
cout << "-- list interrupted at line "<<line <<endl; |
661 |
break; |
break; |
662 |
} |
} |
663 |
|
if(file.Contains("#"))file = file(0,file.First("#")); |
664 |
|
// cout <<"(2) " << file << endl; |
665 |
if( gSystem->IsFileInIncludePath(file,&fullpath) ){ |
if( gSystem->IsFileInIncludePath(file,&fullpath) ){ |
666 |
|
|
667 |
contents->Add(new TSystemFile(fullpath,gSystem->DirName(fullpath)));// add file to the list |
contents->Add(new TSystemFile(fullpath,gSystem->DirName(fullpath)));// add file to the list |
668 |
|
|
669 |
}else{ |
}else{ |
670 |
if(file.Data()!="")cout << "File: "<<file<<" ---> missing "<< endl; |
// if(file.Data()!="")cout << "File: "<<file<<" ---> missing "<< endl; |
671 |
}; |
}; |
672 |
}; |
}; |
673 |
in.close(); |
in.close(); |