Changeset 7016 for trunk/psModules/src/astrom/pmConceptsWrite.c
- Timestamp:
- Apr 30, 2006, 3:08:45 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/astrom/pmConceptsWrite.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/astrom/pmConceptsWrite.c
r6955 r7016 35 35 switch (standard->type) { 36 36 case PS_DATA_STRING: 37 sList = psStringSplit(standard->data.V, " ;" );37 sList = psStringSplit(standard->data.V, " ;", true); 38 38 break; 39 39 case PS_DATA_LIST: … … 173 173 return false; 174 174 } 175 psList *keys = psStringSplit(keywords, " ,;" ); // List of keywords175 psList *keys = psStringSplit(keywords, " ,;", true); // List of keywords 176 176 if (keys->n != values->n) { 177 177 psLogMsg(__func__, PS_LOG_WARN, "Number of keywords (%d) does not match number of values (%d).\n", … … 363 363 continue; 364 364 } 365 psList *keywords = psStringSplit(headerItem->data.V, " ,;" ); // List of header keywords365 psList *keywords = psStringSplit(headerItem->data.V, " ,;", true); // List of header keywords 366 366 if (formatted->type == PS_DATA_LIST) { 367 367 psList *values = formatted->data.V; // The values for the headers … … 448 448 // Now, need to get the "given"s 449 449 if (strlen(givenCols) || strlen(givenPS)) { 450 psList *cols = psStringSplit(givenCols, ",;" ); // List of column names451 psList *values = psStringSplit(givenPS, ",;" ); // List of value names for the columns450 psList *cols = psStringSplit(givenCols, ",;", true); // List of column names 451 psList *values = psStringSplit(givenPS, ",;", true); // List of value names for the columns 452 452 psMetadata *selection = psMetadataAlloc(); // The stuff to select in the DB 453 453 if (cols->n != values->n) { … … 708 708 // Now, need to get the "given"s 709 709 if (strlen(givenCols) || strlen(givenPS)) { 710 psList *cols = psStringSplit(givenCols, ",;" ); // List of column names711 psList *values = psStringSplit(givenPS, ",;" ); // List of value names for the columns710 psList *cols = psStringSplit(givenCols, ",;", true); // List of column names 711 psList *values = psStringSplit(givenPS, ",;", true); // List of value names for the columns 712 712 psMetadata *selection = psMetadataAlloc(); // The stuff to select in the DB 713 713 if (cols->n != values->n) {
Note:
See TracChangeset
for help on using the changeset viewer.
