Changeset 27004 for trunk/ppStack/src/ppStackSetup.c
- Timestamp:
- Feb 18, 2010, 6:42:01 PM (16 years ago)
- Location:
- trunk/ppStack/src
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppStackSetup.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src
- Property svn:ignore
-
old new 10 10 stamp-h1 11 11 ppStackVersionDefinitions.h 12 ppStackErrorCodes.c 13 ppStackErrorCodes.h
-
- Property svn:ignore
-
trunk/ppStack/src/ppStackSetup.c
r26898 r27004 42 42 options->statsFile = fopen(resolved, "w"); 43 43 if (!options->statsFile) { 44 psError(P S_ERR_IO, true, "Unable to open statistics file %s for writing.\n", resolved);44 psError(PPSTACK_ERR_IO, true, "Unable to open statistics file %s for writing.\n", resolved); 45 45 psFree(resolved); 46 46 return false; … … 57 57 } 58 58 if (!tempDir) { 59 psError(P S_ERR_BAD_PARAMETER_VALUE, false, "Unable to find TEMP.DIR in site configuration");59 psError(PPSTACK_ERR_CONFIG, false, "Unable to find TEMP.DIR in site configuration"); 60 60 return false; 61 61 } … … 65 65 const char *tempName = basename(outputName); 66 66 if (!tempName) { 67 psError(P S_ERR_BAD_PARAMETER_VALUE, false, "Unable to construct basename for temporary files.");67 psError(PPSTACK_ERR_ARGUMENTS, false, "Unable to construct basename for temporary files."); 68 68 psFree(outputName); 69 69 return false; … … 74 74 const char *tempVariance = psMetadataLookupStr(NULL, recipe, "TEMP.VARIANCE"); // Suffix for var maps 75 75 if (!tempImage || !tempMask || !tempVariance) { 76 psError(P S_ERR_BAD_PARAMETER_VALUE, false,76 psError(PPSTACK_ERR_CONFIG, false, 77 77 "Unable to find TEMP.IMAGE, TEMP.MASK and TEMP.VARIANCE in recipe"); 78 78 psFree(outputName); … … 117 117 118 118 if (!pmConfigMaskSetBits(NULL, NULL, config)) { 119 psError(P S_ERR_UNKNOWN, false, "Unable to determine mask value.");119 psError(PPSTACK_ERR_CONFIG, false, "Unable to determine mask value."); 120 120 return false; 121 121 }
Note:
See TracChangeset
for help on using the changeset viewer.
