Commit 614796b8 authored by Florian Goth's avatar Florian Goth
Browse files

fix an issue of reloading very large files.

parent 873f98dd
......@@ -765,7 +765,11 @@ void FileVector<std::valarray<T> >::load( const char *const fi, unsigned int sli
{
filename = fi;
bool fileexists = true;
#ifdef USELFS
dump = fopen64(fi, "r");
#else
dump = fopen(fi, "r");
#endif
if (dump == NULL)
{
std::cerr<<"[FileVector] File doesn't exist! Creating"<<std::endl;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment