IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 12, 2006, 10:56:48 PM (20 years ago)
Author:
magnier
Message:

dropped error message for NULL input string in psStringSplit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/sys/tst_psString.c

    r7045 r7115  
    2020 *  @author  Eric Van Alst, MHPCC
    2121 *
    22  *  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
    23  *  @date  $Date: 2006-05-02 23:55:53 $
     22 *  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
     23 *  @date  $Date: 2006-05-13 08:56:48 $
    2424 *
    2525 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    463463    psFree(strList);
    464464    strList = NULL;
    465     //Return NULL for NULL string input
    466     psLogMsg(__func__,PS_LOG_INFO,"Following should generate error message");
     465    //Return empty list for NULL string input
     466    //psLogMsg(__func__,PS_LOG_INFO,"Following should generate error message");
    467467    strList = psStringSplit(NULL, split, true);
    468468    //    if (strList != NULL) {
     
    684684        return 4;
    685685    }
    686     //psStringSplit should return NULL for NULL input string
     686    //psStringSplit should return empty list for NULL input string
    687687    psList *nullList = NULL;
    688     psLogMsg(__func__,PS_LOG_INFO,"Following should generate error message");
     688    // psLogMsg(__func__,PS_LOG_INFO,"Following should generate error message");
    689689    nullList = psStringSplit(nullTest, ",", true);
    690690    //    if (nullList != NULL) {
Note: See TracChangeset for help on using the changeset viewer.