X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/fbbe6f07bc8720030541b7319acb02c9233cd622..31dc8788f9711670917daaa5cc544d0d87ec3afc:/configcache.cpp diff --git a/configcache.cpp b/configcache.cpp index 62b9fdb..fe7bd78 100644 --- a/configcache.cpp +++ b/configcache.cpp @@ -228,7 +228,8 @@ void configcache::openOutFile() time_t secstamp = time(NULL); outFileName.str(""); - outFileName << DATADIR << "/" << secstamp << "_" << getFileId() << "_.edat.tmp"; + outFileName << DATADIR << "/" << secstamp << "_" << getFileId() << "_.edat.tmp"; + outFile.open( outFileName.str().c_str(), std::ios::binary ); outBuffer = new boost::iostreams::filtering_ostreambuf;