IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 18, 2010, 6:42:01 PM (16 years ago)
Author:
Paul Price
Message:

Reworked ppStack to be better about error codes and their translation to exit codes.

Location:
trunk/ppStack/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src

    • Property svn:ignore
      •  

        old new  
        1010stamp-h1
        1111ppStackVersionDefinitions.h
         12ppStackErrorCodes.c
         13ppStackErrorCodes.h
  • trunk/ppStack/src/ppStackCombineInitial.c

    r26454 r27004  
    2020    if (!options->convolve) {
    2121        // No need to do initial combination when we haven't convolved
    22         // XXX either allocate inspect and rejected here, or do not require them downstream
     22        // XXX either allocate inspect and rejected here, or do not require them downstream
    2323        return true;
    2424    }
     
    3737        if (!status) {
    3838            // Something went wrong
    39             psError(PS_ERR_UNKNOWN, false, "Unable to read chunk %d", numChunk);
     39            psError(psErrorCodeLast(), false, "Unable to read chunk %d", numChunk);
    4040            return false;
    4141        }
     
    5757
    5858    if (!psThreadPoolWait(false)) {
    59         psError(PS_ERR_UNKNOWN, false, "Unable to do initial combination.");
     59        psError(psErrorCodeLast(), false, "Unable to do initial combination.");
    6060        return false;
    6161    }
Note: See TracChangeset for help on using the changeset viewer.