git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13983 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -160,6 +160,7 @@ Dump::~Dump()
|
||||
} else {
|
||||
if (filewriter) fclose(fp);
|
||||
}
|
||||
fp = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
@ -413,10 +414,11 @@ void Dump::write()
|
||||
|
||||
if (multifile) {
|
||||
if (compressed) {
|
||||
if (filewriter && fp) pclose(fp);
|
||||
if (filewriter && fp != NULL) pclose(fp);
|
||||
} else {
|
||||
if (filewriter && fp) fclose(fp);
|
||||
if (filewriter && fp != NULL) fclose(fp);
|
||||
}
|
||||
fp = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user