- if(rank>0) of[subname]->open( (fulldir + "/rank" + cRank + "-" + subname + ".tmp").c_str() );
- else of[subname]->open( (fulldir + "/" + signature + "-" + subname + ".dat").c_str() );
+ if(rank>0) of[subname]->open( (fulldir + "/rank" + cRank + "_" + subname + ".tmp").c_str() );
+ else of[subname]->open( (fulldir + "/" + signature + "_" + subname + ".dat").c_str() );
- rename((fulldir + "/rank" + cRank + "-" + ofit->first + ".tmp").c_str(),
- (fulldir + "/rank" + cRank + "-" + ofit->first + ".part").c_str());
+ rename((fulldir + "/rank" + cRank + "_" + ofit->first + ".tmp").c_str(),
+ (fulldir + "/rank" + cRank + "_" + ofit->first + ".part").c_str());
myfile = string(dirp->d_name);
if(myfile.length() > 3 && myfile.substr(myfile.length()-4) == "part" &&
myfile = string(dirp->d_name);
if(myfile.length() > 3 && myfile.substr(myfile.length()-4) == "part" &&