IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 2, 2005, 10:22:56 AM (21 years ago)
Author:
evanalst
Message:

Update changes in psList.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fileUtils/psFits.c

    r3039 r3108  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-01-18 20:01:48 $
     9 *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-02-02 20:22:56 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    10691069    //transverse the metadata list and add each key.
    10701070
    1071     psListIterator* iter = psListIteratorAlloc(header->list,PS_LIST_HEAD);
     1071    psListIterator* iter = psListIteratorAlloc(header->list,PS_LIST_HEAD,true);
    10721072    psMetadataItem* item;
    1073     while ( (item=psListGetNext(iter)) != NULL ) {
     1073    while ( (item=psListGetAndIncrement(iter)) != NULL ) {
    10741074        if (item->type == PS_META_PRIMITIVE) { // we only write primitive data types.
    10751075            switch (item->pType) {
     
    14851485        if (rowMeta != NULL) {
    14861486            psListIterator* iter = psListIteratorAlloc(rowMeta->list,
    1487                                    PS_LIST_HEAD);
    1488             while ( (item=psListGetNext(iter)) != NULL) {
     1487                                   PS_LIST_HEAD,true);
     1488            while ( (item=psListGetAndIncrement(iter)) != NULL) {
    14891489                if (item->type == PS_META_PRIMITIVE) {
    14901490                    bool found = false;
Note: See TracChangeset for help on using the changeset viewer.