IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 10, 2008, 10:28:59 AM (18 years ago)
Author:
jhoblitt
Message:

add truncate parameter to pmConfigConvertFilename()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAfileDefine.c

    r18035 r18061  
    457457
    458458    // this function is implicitly an INPUT operation: do not create the file
    459     psString realName = pmConfigConvertFilename (infiles->data[0], config, false);
     459    psString realName = pmConfigConvertFilename (infiles->data[0], config, false, false);
    460460    if (!realName) {
    461461        psError(PS_ERR_IO, false, "Failed to convert file name %s\n", (char *) infiles->data[0]);
     
    538538        if (i > 0) {
    539539            // this function is implicitly an INPUT operation: do not create the file
    540             psString realName = pmConfigConvertFilename (infiles->data[i], config, false);
     540            psString realName = pmConfigConvertFilename (infiles->data[i], config, false, false);
    541541            if (!realName) {
    542542                psError(PS_ERR_IO, false, "Failed to convert file name %s", (char *) infiles->data[i]);
     
    672672    for (int i = 0; i < infiles->n; i++) {
    673673        // this function is implicitly an INPUT operation: do not create the file
    674         psString realName = pmConfigConvertFilename (infiles->data[i], config, false);
     674        psString realName = pmConfigConvertFilename (infiles->data[i], config, false, false);
    675675        if (!realName) {
    676676            psError(PS_ERR_IO, false, "Failed to convert file name %s", (char *) infiles->data[i]);
     
    925925    // Prepend the global path to the file rule
    926926    // this function is implicitly an INPUT operation: do not create the file
    927     psString tmpName = pmConfigConvertFilename(file->filerule, config, false);
     927    psString tmpName = pmConfigConvertFilename(file->filerule, config, false, false);
    928928    psFree (file->filerule);
    929929    file->filerule = tmpName;
Note: See TracChangeset for help on using the changeset viewer.