Changeset 12419 for trunk/FACT++


Ignore:
Timestamp:
11/06/11 02:33:00 (13 years ago)
Author:
lyard
Message:
changed closing behaviour of corrupted files
Location:
trunk/FACT++/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Fits.cc

    r12418 r12419  
    215215        corruptName << fFileName << "corrupt" << append;
    216216    }
     217    this->fFile->Close();
    217218    if (rename(fFileName.c_str(), corruptName.str().c_str()) != 0)
    218219    {
  • trunk/FACT++/src/datalogger.cc

    r12277 r12419  
    18651865            if (!sub.nightlyFile.Write(*sub.fConv.get()))
    18661866            {
    1867                 sub.nightlyFile.Close();
     1867                //sub.nightlyFile.Close();
    18681868                RemoveService(sub.server, sub.service, false);
    18691869                GoToNightlyWriteErrorState();
Note: See TracChangeset for help on using the changeset viewer.