- if (excludeFileHashes != NULL)
- for (vector<unsigned long>::iterator exit = excludeFileHashes->begin(); exit != excludeFileHashes->end(); ++exit)
- if ( *exit == hash(inFiles.back().filename) ) {
- excludethisfile = true;
- break;
- }
-
- if ( ! excludethisfile ) {
- if(log) *log << "CCACHE: Opening dat-file: " << inFiles.back().filename << endl << flush;
- inFile.open( (DATADIR + "/" + inFiles.back().filename).c_str(), std::ios::binary );
- }
- else
- if(log) *log << "CCACHE: Excluded dat-file: " << inFiles.back().filename << endl << flush;
+ if(log) *log << "CCACHE: Opening dat-file: " << inFileIt->filename << endl << flush;
+ inFile.open( (DATADIR + "/" + inFileIt->filename).c_str(), std::ios::binary );