Changeset 7300 for trunk/psLib/src/fits
- Timestamp:
- Jun 2, 2006, 11:33:34 AM (20 years ago)
- Location:
- trunk/psLib/src/fits
- Files:
-
- 2 edited
-
psFits.c (modified) (2 diffs)
-
psFitsTable.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fits/psFits.c
r7222 r7300 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.5 4$ $Name: not supported by cvs2svn $10 * @date $Date: 2006-0 5-25 23:53:07$9 * @version $Revision: 1.55 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2006-06-02 21:33:33 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii 13 13 */ 14 14 #include "config.h" 15 15 #include <unistd.h> 16 16 … … 54 54 char fitsErr[MAX_STRING_LENGTH]; 55 55 fits_get_errstatus(status, fitsErr); 56 psError(PS_ERR_ IO, true,56 psError(PS_ERR_BAD_FITS, true, 57 57 "Error while closing psFits object. CFITSIO error: %s", 58 58 fitsErr); -
trunk/psLib/src/fits/psFitsTable.c
r7234 r7300 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.1 0$ $Name: not supported by cvs2svn $10 * @date $Date: 2006-0 5-27 02:01:23$9 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2006-06-02 21:33:34 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 909 909 910 910 //create list of column names and types. 911 if (columns->n > 0) { // If we're going decrement columns->n (why?), at least free the memory 912 psFree(columns->data[columns->n - 1]); 913 } 911 914 columns->n--; 912 915 psArray* columnNames = psArrayAlloc(columns->n);
Note:
See TracChangeset
for help on using the changeset viewer.
