Changeset 19677 for trunk/ippTools/src/difftool.c
- Timestamp:
- Sep 23, 2008, 9:56:39 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/difftool.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/difftool.c
r19639 r19677 44 44 static bool pendingcleanupskyfileMode(pxConfig *config); 45 45 static bool donecleanupMode(pxConfig *config); 46 static bool updatediffskyfileMode(pxConfig *config); 46 47 47 48 static bool setdiffRunState(pxConfig *config, psS64 diff_id, const char *state); … … 78 79 MODECASE(DIFFTOOL_MODE_PENDINGCLEANUPSKYFILE, pendingcleanupskyfileMode); 79 80 MODECASE(DIFFTOOL_MODE_DONECLEANUP, donecleanupMode); 81 MODECASE(DIFFTOOL_MODE_UPDATEDIFFSKYFILE, updatediffskyfileMode); 80 82 default: 81 83 psAbort("invalid option (this should not happen)"); … … 495 497 uri, 496 498 path_base, 497 "full", // data_state498 499 bg, 499 500 bg_stdev, … … 1218 1219 return true; 1219 1220 } 1221 1222 static bool updatediffskyfileMode(pxConfig *config) 1223 { 1224 PS_ASSERT_PTR_NON_NULL(config, false); 1225 1226 PXOPT_LOOKUP_S16(code, config->args, "-code", true, false); 1227 1228 psMetadata *where = psMetadataAlloc(); 1229 PXOPT_COPY_S64(config->args, where, "-diff_id", "diff_id", "=="); 1230 1231 if (!pxSetFaultCode(config->dbh, "diffSkyfile", where, code)) { 1232 psError(PS_ERR_UNKNOWN, false, "failed to set set fault flag"); 1233 psFree (where); 1234 return false; 1235 } 1236 psFree (where); 1237 1238 return true; 1239 } 1240
Note:
See TracChangeset
for help on using the changeset viewer.
