Changeset 3298 for trunk/psLib/src
- Timestamp:
- Feb 22, 2005, 9:25:53 AM (21 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 5 edited
-
collections/psBitSet.c (modified) (4 diffs)
-
dataIO/psFits.c (modified) (2 diffs)
-
fileUtils/psFits.c (modified) (2 diffs)
-
fits/psFits.c (modified) (2 diffs)
-
types/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) { -
trunk/psLib/src/dataIO/psFits.c
r3264 r3298 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.1 8$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-02- 17 19:26:24$9 * @version $Revision: 1.19 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-02-22 19:25:52 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1496 1496 } 1497 1497 if (! found) { 1498 psArrayAdd(columns, columns->nalloc, psMemIncrRefCounter(item));1498 psArrayAdd(columns, columns->nalloc, item); 1499 1499 } 1500 1500 } -
trunk/psLib/src/fileUtils/psFits.c
r3264 r3298 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.1 8$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-02- 17 19:26:24$9 * @version $Revision: 1.19 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-02-22 19:25:52 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1496 1496 } 1497 1497 if (! found) { 1498 psArrayAdd(columns, columns->nalloc, psMemIncrRefCounter(item));1498 psArrayAdd(columns, columns->nalloc, item); 1499 1499 } 1500 1500 } -
trunk/psLib/src/fits/psFits.c
r3264 r3298 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.1 8$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-02- 17 19:26:24$9 * @version $Revision: 1.19 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-02-22 19:25:52 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1496 1496 } 1497 1497 if (! found) { 1498 psArrayAdd(columns, columns->nalloc, psMemIncrRefCounter(item));1498 psArrayAdd(columns, columns->nalloc, item); 1499 1499 } 1500 1500 } -
trunk/psLib/src/types/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.
