Changeset 3298 for trunk/psLib/src/collections/psBitSet.c
- Timestamp:
- Feb 22, 2005, 9:25:53 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/collections/psBitSet.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psBitSet.c
r3264 r3298 11 11 * @author Robert DeSonia, MHPCC 12 12 * 13 * @version $Revision: 1.2 2$ $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 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 186 186 return NULL; 187 187 } 188 189 // make operator all caps190 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';197 188 198 189 // parse the operator … … 206 197 op = NOT_OP; 207 198 } else { 208 psFree(tempStr);209 199 psFree(outBitSet); 210 200 psError(PS_ERR_BAD_PARAMETER_VALUE, true, … … 213 203 return NULL; 214 204 } 215 psFree(tempStr);216 205 217 206 if (op != NOT_OP) {
Note:
See TracChangeset
for help on using the changeset viewer.
