mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-15 16:18:22 +01:00
replaced dump_file with dump_ostream
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/branches/ErrorHandling@5867 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
35a97c6467
commit
f7abe02b44
@ -1033,12 +1033,13 @@ int IPhreeqc::close_output_files(void)
|
||||
ret |= fclose(this->log_file);
|
||||
if (this->punch_file != NULL)
|
||||
ret |= fclose(this->punch_file);
|
||||
if (this->dump_file != NULL)
|
||||
ret |= fclose(this->dump_file);
|
||||
if (this->dump_ostream != NULL)
|
||||
delete this->dump_ostream;
|
||||
if (this->error_file != NULL)
|
||||
ret |= fclose(this->error_file);
|
||||
this->error_file = NULL;
|
||||
this->output_file = this->log_file = this->punch_file = this->dump_file = NULL;
|
||||
this->output_file = this->log_file = this->punch_file = NULL;
|
||||
this->dump_ostream = NULL;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user