Changeset 20254
- Timestamp:
- Oct 17, 2008, 3:03:57 PM (18 years ago)
- Location:
- trunk/psModules/src
- Files:
-
- 2 edited
-
camera/pmFPAfileIO.c (modified) (1 diff)
-
config/pmConfig.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAfileIO.c
r19307 r20254 727 727 bool create = file->mode == PM_FPA_MODE_WRITE ? true : false; 728 728 psString tmpName = pmConfigConvertFilename (file->filename, config, create, false); 729 if (!tmpName) { 730 psError(PS_ERR_IO, false, "failed to determine real name from template for %s\n", file->filename); 731 return false; 732 } 729 733 psFree (file->filename); 730 734 file->filename = tmpName; -
trunk/psModules/src/config/pmConfig.c
r19111 r20254 1520 1520 if (!checkPath(newName, create, trunc)) { 1521 1521 // let checkPath()'s psError() call float up 1522 psError(PS_ERR_UNKNOWN, false, "error from checkPath for file:// (%s)", newName); 1522 1523 psFree (newName); 1523 1524 return NULL; … … 1569 1570 if (!checkPath(newName, create, trunc)) { 1570 1571 // let checkPath()'s psError() call float up 1572 psError(PS_ERR_UNKNOWN, false, "error from checkPath for path:// (%s)", newName); 1571 1573 psFree (newName); 1572 1574 return NULL;
Note:
See TracChangeset
for help on using the changeset viewer.
