git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14128 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2015-10-21 18:29:37 +00:00
parent ddfb996d8e
commit 9a878cdd67
53 changed files with 289 additions and 181 deletions

View File

@ -888,7 +888,7 @@ void FixAveSpatial::end_of_step()
fflush(fp);
if (overwrite) {
long fileend = ftell(fp);
ftruncate(fileno(fp),fileend);
if (fileend > 0) ftruncate(fileno(fp),fileend);
}
}
}