- if ( activeCFile != "" )
- O->writeHeader("concurrent_cfile", activeCFile.c_str(), (activeCFile.length()+1)*sizeof(char));
+ if ( activeCFile != "" ) {
+ unsigned long afilehash = configcache::hash(activeCFile);
+ O->writeHeader("concurrent_cfile", (char*)(&afilehash), sizeof(unsigned long));
+ }