Changeset 12413


Ignore:
Timestamp:
11/06/11 02:10:41 (13 years ago)
Author:
lyard
Message:
fixed a bug when detecting corrupted files
File:
1 edited

Legend:

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

    r12277 r12413  
    209209    int append = 0;
    210210    corruptName << fFileName << "corrupt" << append;
    211     while (stat(corruptName.str().c_str(), &st))
     211    while (!stat(corruptName.str().c_str(), &st))
    212212    {
    213213        append++;
Note: See TracChangeset for help on using the changeset viewer.