IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 17, 2009, 3:14:56 PM (17 years ago)
Author:
Paul Price
Message:

Allow multiple output files of the same (filerule) name. This is a
potentially dangerous change (since the file rules are so central),
but I don't think it has side effects. Tested on ppStack, with no
problem (though, of course, ppStack requires the change so I can write
out multiple kernels).

File:
1 edited

Legend:

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

    r23354 r23370  
    382382
    383383    // place the resulting file in the config system
    384     psMetadataAddPtr(config->files, PS_LIST_TAIL, name, PS_DATA_UNKNOWN, "Output file", file);
     384    psMetadataAddPtr(config->files, PS_LIST_TAIL, name, PS_DATA_UNKNOWN | PS_META_DUPLICATE_OK,
     385                     "Output file", file);
    385386    psFree(file);                       // we free this copy of file, but 'files' still has a copy
    386387    return file;                        // the returned value is a view into the version on 'files'
Note: See TracChangeset for help on using the changeset viewer.