Changeset 13268
- Timestamp:
- May 4, 2007, 3:37:11 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarpDataSave.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpDataSave.c
r13104 r13268 26 26 FILE *statsFile = NULL; // File stream for statistics 27 27 if (mdok && statsName && strlen(statsName) > 0) { 28 statsFile = fopen(statsName, "w"); 28 psString resolved = pmConfigConvertFilename(statsName, config, true); 29 statsFile = fopen(resolved, "w"); 29 30 if (!statsFile) { 30 psError(PS_ERR_IO, true, "Unable to open statistics file %s for writing.\n", statsName); 31 psError(PS_ERR_IO, true, "Unable to open statistics file %s for writing.\n", resolved); 32 psFree(resolved); 31 33 return false; 32 34 } 35 psFree(resolved); 33 36 stats = psMetadataAlloc(); 34 37 }
Note:
See TracChangeset
for help on using the changeset viewer.
