IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 26, 2010, 10:16:59 AM (16 years ago)
Author:
bills
Message:

exit if we fail to resolve a skycell file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/magic/remove/src/diffedpixels.c

    r26890 r27102  
    3737        psString filename = psArrayGet(skycells, i);
    3838        psString resolved_name = pmConfigConvertFilename(filename, config, false, false);
    39 
     39        if (resolved_name == NULL) {
     40            psError(PS_ERR_IO, false, "failed to resolve skycell file: %s", filename);
     41            streaksExit("", PS_EXIT_DATA_ERROR);
     42        }
    4043        addTouchedPixels(sf, resolved_name);
    4144        psFree(resolved_name);
Note: See TracChangeset for help on using the changeset viewer.