IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 30, 2006, 7:06:19 PM (20 years ago)
Author:
drobbin
Message:

Added error check to psTimeCopy for proper time-type. only formatting in MetadataConfig. Updated all metadataConfig tests but still under construction. Added tests to Makefile and execute_tap

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astro/psTime.c

    r9749 r9805  
    1010 *  @author Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.99 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2006-10-26 03:47:49 $
     12 *  @version $Revision: 1.100 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2006-10-31 05:06:19 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    18651865    PS_ASSERT_PTR_NON_NULL(inTime, NULL);
    18661866    psTime *outTime = psTimeAlloc(inTime->type);
     1867    if (outTime == NULL) {
     1868        psError(PS_ERR_BAD_PARAMETER_TYPE, true,
     1869                "Invalid type specified in psTimeCopy.  %x", inTime->type);
     1870        return NULL;
     1871    }
    18671872    //    *outTime = *inTime;
    18681873    outTime->sec = inTime->sec;
Note: See TracChangeset for help on using the changeset viewer.