Changeset 11304 for trunk/psModules/src/camera/pmFPAfileDefine.c
- Timestamp:
- Jan 25, 2007, 6:41:27 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAfileDefine.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAfileDefine.c
r11292 r11304 286 286 } 287 287 288 bool create = file->mode == PM_FPA_MODE_WRITE ? true : false;289 psString realName = pmConfigConvertFilename (infiles->data[0], config, create);288 // this function is implicitly an INPUT operation: do not create the file 289 psString realName = pmConfigConvertFilename (infiles->data[0], config, false); 290 290 if (!realName) { 291 291 psError(PS_ERR_IO, false, "Failed to convert file name %s\n", (char *) infiles->data[0]); … … 367 367 for (int i = 0; i < infiles->n; i++) { 368 368 if (i > 0) { 369 bool create = file->mode == PM_FPA_MODE_WRITE ? true : false;370 psString realName = pmConfigConvertFilename (infiles->data[i], config, create);369 // this function is implicitly an INPUT operation: do not create the file 370 psString realName = pmConfigConvertFilename (infiles->data[i], config, false); 371 371 if (!realName) { 372 372 psError(PS_ERR_IO, false, "Failed to convert file name %s", (char *) infiles->data[i]); … … 492 492 // save the association on file->names 493 493 for (int i = 0; i < infiles->n; i++) { 494 bool create = file->mode == PM_FPA_MODE_WRITE ? true : false;495 psString realName = pmConfigConvertFilename (infiles->data[i], config, create);494 // this function is implicitly an INPUT operation: do not create the file 495 psString realName = pmConfigConvertFilename (infiles->data[i], config, false); 496 496 if (!realName) { 497 497 psError(PS_ERR_IO, false, "Failed to convert file name %s", (char *) infiles->data[i]); … … 727 727 728 728 // Prepend the global path to the file rule 729 bool create = file->mode == PM_FPA_MODE_WRITE ? true : false;730 psString tmpName = pmConfigConvertFilename (file->filerule, config, create);729 // this function is implicitly an INPUT operation: do not create the file 730 psString tmpName = pmConfigConvertFilename (file->filerule, config, false); 731 731 psFree (file->filerule); 732 732 file->filerule = tmpName;
Note:
See TracChangeset
for help on using the changeset viewer.
