IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 22, 2005, 9:25:53 AM (21 years ago)
Author:
desonia
Message:

fixed multiple small bugs, including bug 302.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/collections/psBitSet.c

    r3264 r3298  
    1111 *  @author Robert DeSonia, MHPCC
    1212 *
    13  *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-02-17 19:26:23 $
     13 *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-02-22 19:25:52 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    186186        return NULL;
    187187    }
    188 
    189     // make operator all caps
    190     psS32 tempStrLen = strlen(operator);
    191     char* tempStr = psAlloc(tempStrLen+1);
    192 
    193     for (psS32 lcv=0;lcv<tempStrLen;lcv++) {
    194         tempStr[lcv] = (char)toupper(operator[lcv]);
    195     }
    196     tempStr[tempStrLen] = '\0';
    197188
    198189    // parse the operator
     
    206197        op = NOT_OP;
    207198    } else {
    208         psFree(tempStr);
    209199        psFree(outBitSet);
    210200        psError(PS_ERR_BAD_PARAMETER_VALUE, true,
     
    213203        return NULL;
    214204    }
    215     psFree(tempStr);
    216205
    217206    if (op != NOT_OP) {
Note: See TracChangeset for help on using the changeset viewer.