IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 4, 2007, 12:24:56 PM (19 years ago)
Author:
Paul Price
Message:

Resolving filenames so as to support Nebulous

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStac/src/ppStacOptions.c

    r12994 r13247  
    8383    }
    8484
    85     const char *outName = argv[1];      // Output filename
     85    psString outName = pmConfigConvertFilename(argv[1], options->config, true); // Output filename
    8686    options->outFile = psFitsOpen(outName, "w");
    8787    if (!options->outFile) {
    8888        psError(PS_ERR_IO, false, "Unable to open output file %s.\n", outName);
    8989        psFree(options);
     90        psFree(outName);
    9091        return NULL;
    9192    }
     93    psFree(outName);
    9294
    9395    int numInputs = *argc - 2; // Number of input files
Note: See TracChangeset for help on using the changeset viewer.