IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8846


Ignore:
Timestamp:
Sep 19, 2006, 4:08:43 PM (20 years ago)
Author:
Paul Price
Message:

Printing size of list.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/types/psMetadata.c

    r8786 r8846  
    1212 *  @author Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.132 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2006-09-10 08:53:07 $
     14 *  @version $Revision: 1.133 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2006-09-20 02:08:43 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    605605        // Node doesn't exist - Add new metadata item to metadata collection's hash
    606606        /*  The following is unneeded.  HashAdd can't return false with non-null inputs.
    607          
     607
    608608                if(!psHashAdd(mdTable, key, (psPtr)item)) {
    609609                    psError(PS_ERR_UNKNOWN,false,
     
    13151315            }
    13161316        case PS_DATA_LIST:
    1317             fprintf(fd, "<a list of unknown contents>\n");
     1317            fprintf(fd, "<a list of size %ld>\n", ((psList*)item->data.V)->n);
    13181318            break;
    13191319        case PS_DATA_TIME: {
Note: See TracChangeset for help on using the changeset viewer.