IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9937


Ignore:
Timestamp:
Nov 9, 2006, 2:07:19 PM (20 years ago)
Author:
jhoblitt
Message:

when parsing a line don't terminate the comment at a '~'

File:
1 edited

Legend:

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

    r9934 r9937  
    1010*  @author Eric Van Alst, MHPCC
    1111*
    12 *  @version $Revision: 1.120 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2006-11-09 23:37:35 $
     12*  @version $Revision: 1.121 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2006-11-10 00:07:19 $
    1414*
    1515*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    850850        // Not all lines will have comments, so NULL is ok.
    851851        status = 0;
    852         strComment = getToken(&linePtr,"~", &status,true);
     852        // XXX this is a very ugly way of finding from the current position to
     853        // the end of the line
     854        strComment = getToken(&linePtr, "", &status, true);
    853855        if(status) {
    854856            psError(PS_ERR_IO, true,
Note: See TracChangeset for help on using the changeset viewer.