Changeset 18061 for trunk/psModules/src/config
- Timestamp:
- Jun 10, 2008, 10:28:59 AM (18 years ago)
- Location:
- trunk/psModules/src/config
- Files:
-
- 2 edited
-
pmConfig.c (modified) (3 diffs)
-
pmConfig.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/config/pmConfig.c
r18036 r18061 556 556 } 557 557 if (logDest) { 558 psString resolved = pmConfigConvertFilename(logDest, config, true ); // Resolved filename558 psString resolved = pmConfigConvertFilename(logDest, config, true, false); // Resolved filename 559 559 if (!resolved || strlen(resolved) == 0) { 560 560 psWarning("Unable to resolve log destination: %s --- ignored", logDest); … … 614 614 } 615 615 if (traceDest) { 616 psString resolved = pmConfigConvertFilename(traceDest, config, true ); // Resolved filename616 psString resolved = pmConfigConvertFilename(traceDest, config, true, false); // Resolved filename 617 617 if (!resolved || strlen(resolved) == 0) { 618 618 psWarning("Unable to resolve trace destination: %s --- ignored", traceDest); … … 1490 1490 1491 1491 // convert the supplied name, create a new output psString 1492 psString pmConfigConvertFilename(const char *filename, const pmConfig *config, bool create )1492 psString pmConfigConvertFilename(const char *filename, const pmConfig *config, bool create, bool truncate) 1493 1493 { 1494 1494 PS_ASSERT_STRING_NON_EMPTY(filename, NULL); -
trunk/psModules/src/config/pmConfig.h
r17992 r18061 5 5 * @author Eugene Magnier, IfA 6 6 * 7 * @version $Revision: 1.3 6$ $Name: not supported by cvs2svn $8 * @date $Date: 2008-06- 09 00:38:42$7 * @version $Revision: 1.37 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2008-06-10 20:28:25 $ 9 9 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 10 10 */ … … 163 163 const char *filename, ///< file path/URI 164 164 const pmConfig *config, ///< configuration 165 bool create ///< create the file if it doesn't exist 165 bool create, ///< create the file if it doesn't exist 166 bool truncate ///< truncate the file (if it exists) 166 167 ); 167 168
Note:
See TracChangeset
for help on using the changeset viewer.
