Changeset 18063
- Timestamp:
- Jun 10, 2008, 10:58:28 AM (18 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
ppSub/src/ppSubLoop.c (modified) (1 diff)
-
psModules/src/camera/pmFPA_MANAPLOT.c (modified) (2 diffs)
-
psModules/test/config/tap_pmConfig.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSubLoop.c
r17784 r18063 24 24 FILE *statsFile = NULL; // File stream for statistics 25 25 if (statsName && strlen(statsName) > 0) { 26 psString resolved = pmConfigConvertFilename(statsName, config, true ); // Resolved filename26 psString resolved = pmConfigConvertFilename(statsName, config, true, false); // Resolved filename 27 27 statsFile = fopen(resolved, "w"); 28 28 if (!statsFile) { -
trunk/psModules/src/camera/pmFPA_MANAPLOT.c
r12696 r18063 5 5 * @author EAM, IfA 6 6 * 7 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $8 * @date $Date: 200 7-03-30 21:12:56$7 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2008-06-10 20:58:28 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 142 142 psString tmpName; 143 143 tmpName = pmFPAfileNameFromRule (file->filextra, file, view); 144 psString input = pmConfigConvertFilename (tmpName, config, create );144 psString input = pmConfigConvertFilename (tmpName, config, create, false); 145 145 psFree (tmpName); 146 146 147 147 tmpName = pmFPAfileNameFromRule (file->filerule, file, view); 148 psString output = pmConfigConvertFilename (tmpName, config, create );148 psString output = pmConfigConvertFilename (tmpName, config, create, false); 149 149 psFree (tmpName); 150 150 151 151 tmpName = pmFPAfileNameFromRule (file->extname, file, view); 152 psString script = pmConfigConvertFilename (tmpName, config, create );152 psString script = pmConfigConvertFilename (tmpName, config, create, false); 153 153 psFree (tmpName); 154 154 -
trunk/psModules/test/config/tap_pmConfig.c
r15986 r18063 20 20 * XXXX: Must determine what to do with NULL arguments, then test it. 21 21 * 22 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $23 * @date $Date: 2008-0 1-02 20:49:09$22 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 23 * @date $Date: 2008-06-10 20:58:28 $ 24 24 * 25 25 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 998 998 pmConfig *config = pmConfigAlloc(); 999 999 bool create = false; 1000 bool rc = pmConfigConvertFilename(NULL, (const pmConfig *) config, create );1000 bool rc = pmConfigConvertFilename(NULL, (const pmConfig *) config, create, false); 1001 1001 ok(rc == false, "pmConfigConvertFilename() returned FALSE with NULL filename pointer"); 1002 1002 psErr *tmpErr = psErrorLast(); … … 1016 1016 pmConfig *config = pmConfigAlloc(); 1017 1017 bool create = false; 1018 bool rc = pmConfigConvertFilename(name, NULL, create );1018 bool rc = pmConfigConvertFilename(name, NULL, create, false); 1019 1019 ok(rc == false, "pmConfigConvertFilename() returned FALSE with NULL config pointer"); 1020 1020 psErr *tmpErr = psErrorLast(); … … 1051 1051 ok(rc == true, "pmConfigFileRead() was successful"); 1052 1052 bool create = false; 1053 psString tmpStr = pmConfigConvertFilename(filename, (const pmConfig *) config, create );1053 psString tmpStr = pmConfigConvertFilename(filename, (const pmConfig *) config, create, false); 1054 1054 ok(NULL == tmpStr, "pmConfigConvertFilename() returned NULL with create==FALSE"); 1055 1055 create = true; 1056 tmpStr = pmConfigConvertFilename(filename, (const pmConfig *) config, create );1056 tmpStr = pmConfigConvertFilename(filename, (const pmConfig *) config, create, false); 1057 1057 ok(tmpStr != NULL, "pmConfigConvertFilename() returned non-NULL with create==TRUE"); 1058 1058 ok(!strcmp(tmpStr, "/JUNK"), "pmConfigConvertFilename() returned correct filename (%s)", tmpStr);
Note:
See TracChangeset
for help on using the changeset viewer.
