Changeset 2004 for trunk/psLib/src/collections/psMetadataIO.c
- Timestamp:
- Oct 7, 2004, 9:31:59 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/collections/psMetadataIO.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psMetadataIO.c
r1995 r2004 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-10-07 02:16:36$11 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-10-07 19:31:59 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 462 462 int lineCount = 0; 463 463 int failedLines = 0; 464 psF64 temp Value= 0.0;464 psF64 tempDbl = 0.0; 465 465 psMetadataItem *metadataItem = NULL; 466 466 psVector *tempVec = NULL; … … 508 508 } else if(repeatedChars(linePtr, '*') > 1) { 509 509 failedLines++; 510 psError(__func__, "More than one @charecter not allowed. Line %d: %s", lineCount, line);510 psError(__func__, "More than one * charecter not allowed. Line %d: %s", lineCount, line); 511 511 continue; 512 512 } else if(repeatedChars(linePtr, '~') > 0) { … … 515 515 continue; 516 516 } 517 518 517 519 518 // Get metadata item name … … 616 615 case PS_META_F32: 617 616 case PS_META_F64: 618 temp Value= parseValue(strValue, &status);617 tempDbl = parseValue(strValue, &status); 619 618 if(!status) { 620 psMetadataAdd(*md, PS_LIST_TAIL, strName, mdType, strComment, temp Value);619 psMetadataAdd(*md, PS_LIST_TAIL, strName, mdType, strComment, tempDbl); 621 620 } else { 622 621 status = 0;
Note:
See TracChangeset
for help on using the changeset viewer.
