IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6724


Ignore:
Timestamp:
Mar 28, 2006, 4:20:25 PM (20 years ago)
Author:
Paul Price
Message:

nFail for psMetadataConfigParse may be NULL.

Location:
branches
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_rel9_b1/psLib/src/types/psMetadataConfig.c

    r6027 r6724  
    1010*  @author Eric Van Alst, MHPCC
    1111*
    12 *  @version $Revision: 1.48.16.2 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2006-01-17 09:25:15 $
     12*  @version $Revision: 1.48.16.3 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2006-03-29 02:18:24 $
    1414*
    1515*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    11751175    PS_ASSERT_PTR_NON_NULL(filename,NULL);
    11761176
    1177     // Check for NULL nFail
    1178     PS_ASSERT_PTR_NON_NULL(nFail,NULL);
    1179 
    11801177    // Attempt to open specified file
    11811178    if((fp=fopen(filename, "r")) == NULL) {
     
    12091206        lineCount++;
    12101207
    1211         if(!parseLine(&nestingLevel,parseLevelInfoArray,linePtr,lineCount,(char*)filename,overwrite)) {
     1208        if(!parseLine(&nestingLevel,parseLevelInfoArray,linePtr,lineCount,(char*)filename,overwrite) &&
     1209                nFail) {
    12121210            (*nFail)++;
    12131211        }
  • branches/rel10_ifa/psLib/src/types/psMetadataConfig.c

    r6550 r6724  
    1010*  @author Eric Van Alst, MHPCC
    1111*
    12 *  @version $Revision: 1.52.4.1 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2006-03-09 02:00:36 $
     12*  @version $Revision: 1.52.4.2 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2006-03-29 02:20:25 $
    1414*
    1515*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    11751175    PS_ASSERT_PTR_NON_NULL(filename,NULL);
    11761176
    1177     // Check for NULL nFail
    1178     PS_ASSERT_PTR_NON_NULL(nFail,NULL);
    1179 
    11801177    // Attempt to open specified file
    11811178    if((fp=fopen(filename, "r")) == NULL) {
     
    12091206        lineCount++;
    12101207
    1211         if(!parseLine(&nestingLevel,parseLevelInfoArray,linePtr,lineCount,(char*)filename,overwrite)) {
     1208        if(!parseLine(&nestingLevel,parseLevelInfoArray,linePtr,lineCount,(char*)filename,overwrite) &&
     1209                nFail) {
    12121210            (*nFail)++;
    12131211        }
Note: See TracChangeset for help on using the changeset viewer.