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/config/pmConfig.c

    r18036 r18061  
    556556        }
    557557        if (logDest) {
    558             psString resolved = pmConfigConvertFilename(logDest, config, true); // Resolved filename
     558            psString resolved = pmConfigConvertFilename(logDest, config, true, false); // Resolved filename
    559559            if (!resolved || strlen(resolved) == 0) {
    560560                psWarning("Unable to resolve log destination: %s --- ignored", logDest);
     
    614614        }
    615615        if (traceDest) {
    616             psString resolved = pmConfigConvertFilename(traceDest, config, true); // Resolved filename
     616            psString resolved = pmConfigConvertFilename(traceDest, config, true, false); // Resolved filename
    617617            if (!resolved || strlen(resolved) == 0) {
    618618                psWarning("Unable to resolve trace destination: %s --- ignored", traceDest);
     
    14901490
    14911491// convert the supplied name, create a new output psString
    1492 psString pmConfigConvertFilename(const char *filename, const pmConfig *config, bool create)
     1492psString pmConfigConvertFilename(const char *filename, const pmConfig *config, bool create, bool truncate)
    14931493{
    14941494    PS_ASSERT_STRING_NON_EMPTY(filename, NULL);
Note: See TracChangeset for help on using the changeset viewer.