+ 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;
+
+ inFiles.pop_back();
+
+ if( !inFile.is_open() ) continue;
+
+ inBuffer = new boost::iostreams::filtering_istreambuf;
+ inBuffer->push( boost::iostreams::bzip2_decompressor() );
+ inBuffer->push(inFile);
+ }