Changeset 18978 for gsdl/trunk/runtime-src/src/colservr/collectset.cpp
- Timestamp:
- 2009-04-15T15:49:50+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/runtime-src/src/colservr/collectset.cpp
r17989 r18978 379 379 text_tarray cfgline; 380 380 text_t key; 381 text_t build_cfg = filename_cat(collect_group_dir, "etc", "collect.cfg");382 char *collect_cfgc = build_cfg.getcstr();381 text_t collect_cfg = filename_cat(collect_group_dir, "etc", "collect.cfg"); 382 char *collect_cfgc = collect_cfg.getcstr(); 383 383 ifstream confin(collect_cfgc); 384 384 … … 399 399 400 400 if (is_collect_group == "true") { 401 402 401 if (read_dir (collect_group_dir, group)) { 403 402 … … 406 405 407 406 while (thiscol != endcol) { 408 // ignore the modelcol407 // ignore the etc directory 409 408 if (*thiscol == "etc") { 410 409 ++thiscol; … … 412 411 } 413 412 414 text_t group_col = filename_cat(collection,*thiscol); 413 //text_t group_col = filename_cat(collection,*thiscol); 414 // later we check for / in the name. When this is used in a path (via fileanme_cat) the / will be converted to \ on windows 415 text_t group_col = collection + "/" + *thiscol; 415 416 this->add_collection (group_col, gsdlhome, collecthome); 416 417
Note:
See TracChangeset
for help on using the changeset viewer.