Changeset 18420
- Timestamp:
- Jul 3, 2008, 5:10:36 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/fits/psFitsImage.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fits/psFitsImage.c
r18392 r18420 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.3 2$ $Name: not supported by cvs2svn $10 * @date $Date: 2008-07-0 1 04:26:26 $9 * @version $Revision: 1.33 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2008-07-04 03:10:36 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 660 660 } 661 661 662 // This forces a re-scan of the header to ensure everything's kosher. 663 // Without this, compressed HDUs have been written out with PCOUNT=0 and TFORM1 not correctly set. 664 ffrdef(fits->fd, &status); 665 if (psFitsError(status, true, "Could not re-scan HDU.")) { 666 success = false; 667 goto INSERT_DONE; 668 } 669 670 662 671 INSERT_DONE: 663 672 psFree(diskImage); … … 667 676 psFree(compress); 668 677 } 678 669 679 return success; 670 680 }
Note:
See TracChangeset
for help on using the changeset viewer.
