git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14128 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user