IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 3, 2008, 5:18:06 PM (18 years ago)
Author:
Paul Price
Message:

Putting in ffrdef in other places --- just in case!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fits/psFitsImage.c

    r18420 r18421  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.33 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2008-07-04 03:10:36 $
     9 *  @version $Revision: 1.34 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2008-07-04 03:18:06 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    785785    }
    786786
     787    // This forces a re-scan of the header to ensure everything's kosher.  We found this occassionally
     788    // necessary for compressed images, which are tables, so perhaps it helps here too.  I guess it can't
     789    // hurt.
     790    ffrdef(fits->fd, &status);
     791    if (psFitsError(status, true, "Could not re-scan HDU.")) {
     792        goto UPDATE_FAIL;
     793    }
     794
    787795    return true;
    788796
Note: See TracChangeset for help on using the changeset viewer.