IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 30, 2006, 3:08:45 PM (20 years ago)
Author:
magnier
Message:

fixed instances of psStringSplit to use new API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/astrom/pmFPAConstruct.c

    r7009 r7016  
    4343{
    4444    bool allOK = true;                  // Everything was OK?
    45     psList *values = psStringSplit(string, " ,;"); // List of the parts
     45    psList *values = psStringSplit(string, " ,;", true); // List of the parts
    4646    *first = psArrayAlloc(values->n);
    4747    *second = psArrayAlloc(values->n);
     
    5252    psString value = NULL;               // "first:second:third" string
    5353    while ((value = psListGetAndIncrement(valuesIter))) {
    54         psList *firstSecondThird = psStringSplit(value, ":"); // List containing the first, second, third
     54        psList *firstSecondThird = psStringSplit(value, ":", true); // List containing the first, second, third
    5555        psArray *fst = psListToArray(firstSecondThird); // An array representation
    5656        psFree(firstSecondThird);
     
    194194    }
    195195
    196     psList *keywords = psStringSplit(contentHeaders, " ,;"); // List of keywords
     196    psList *keywords = psStringSplit(contentHeaders, " ,;", true); // List of keywords
    197197    psListIterator *keywordsIter = psListIteratorAlloc(keywords, PS_LIST_HEAD, false); // Iterator
    198198    psString keyword = NULL;        // Keyword, from iteration
     
    377377
    378378        pmChip *chip = pmChipAlloc(fpa, chipName); // The chip
    379         psList *cellNames = psStringSplit(componentsItem->data.V, " ,;"); // List of cell names
     379        psList *cellNames = psStringSplit(componentsItem->data.V, " ,;", true); // List of cell names
    380380        psListIterator *cellNamesIter = psListIteratorAlloc(cellNames, PS_LIST_HEAD, false); // Iterator
    381381
Note: See TracChangeset for help on using the changeset viewer.