IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9763


Ignore:
Timestamp:
Oct 26, 2006, 4:26:42 PM (20 years ago)
Author:
jhoblitt
Message:

handle "NULL" mdcf time values (untested)

File:
1 edited

Legend:

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

    r9756 r9763  
    1010*  @author Eric Van Alst, MHPCC
    1111*
    12 *  @version $Revision: 1.100 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2006-10-27 01:15:44 $
     12*  @version $Revision: 1.101 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2006-10-27 02:26:42 $
    1414*
    1515*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    332332    PS_ASSERT_PTR_NON_NULL(status, NULL);
    333333    if (!inString) {
     334        *status = 0;
     335        return NULL;
     336    }
     337
     338    // handle "NULL" as the time value
     339    if (strncmp(inString, "NULL", 5) == 0) {
    334340        *status = 0;
    335341        return NULL;
Note: See TracChangeset for help on using the changeset viewer.