Changeset 5234 for trunk/Ohana/src/addstar/src/wcatalog.c
- Timestamp:
- Oct 7, 2005, 6:33:25 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/addstar/src/wcatalog.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/addstar/src/wcatalog.c
r5229 r5234 7 7 8 8 /* should this be moved into save_catalog?? */ 9 fits_modify (&catalog[0].header, " ORDERED", "%t", 1, catalog[0].ordered);9 fits_modify (&catalog[0].header, "SORTED", "%t", 1, catalog[0].sorted); 10 10 11 if (!save_catalog (catalog, VERBOSE)) { 12 fprintf (stderr, "ERROR: failure saving catalog\n"); 13 exit (1); 11 if (UPDATE) { 12 if (!update_catalog (catalog, VERBOSE)) { 13 fprintf (stderr, "ERROR: failure updating catalog\n"); 14 exit (1); 15 } 16 } else { 17 if (!save_catalog (catalog, VERBOSE)) { 18 fprintf (stderr, "ERROR: failure saving catalog\n"); 19 exit (1); 20 } 14 21 } 15 22
Note:
See TracChangeset
for help on using the changeset viewer.
