Changeset 1886
- Timestamp:
- 2001-01-31T15:03:30+13:00 (23 years ago)
- Location:
- trunk/gsdl/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/colservr/collectset.cpp
r1860 r1886 79 79 text_tarray cfgline; 80 80 text_t key; 81 text_t filename = filename_cat(collectdir, *thiscol, "index /build.cfg");81 text_t filename = filename_cat(collectdir, *thiscol, "index" , "build.cfg"); 82 82 ifstream confin(filename.getcstr()); 83 83 -
trunk/gsdl/src/colservr/collectset.h
r1860 r1886 22 22 public: 23 23 collectset(text_t &gsdlhome); 24 // this constructor is used by the local library 25 collectset() {} 26 24 27 ~collectset(); 25 28 -
trunk/gsdl/src/w32server/cgiwrapper.cpp
r1739 r1886 363 363 if (!checkdir (gsdl_gsdlhome + "\\macros\\")) return 0; 364 364 365 collectset *cservers = new collectset(); 366 365 367 // get all collections from each gsdlhome (this relies 366 368 // on there not being more than one collection with the same … … 453 455 this_gdbmhome = (*it).second.gsdl_gdbmhome; 454 456 455 nproto.add_collection (*thiscol, &recpt, this_gsdlhome, this_gdbmhome);457 cservers->add_collection (*thiscol, &recpt, this_gsdlhome, this_gdbmhome); 456 458 457 459 thiscol ++; 458 460 } 461 462 // set up the null protocol 463 nproto.set_collectset(cservers); 459 464 460 465 // add the protocol to the receptionist 461 466 recpt.add_protocol (&nproto); 462 463 // add other converters464 utf8inconvertclass *utf8inconvert = new utf8inconvertclass();465 utf8outconvertclass *utf8outconvert = new utf8outconvertclass();466 recpt.add_converter ("u", utf8inconvert, utf8outconvert);467 468 mapinconvertclass *gbinconvert = new mapinconvertclass();469 gbinconvert->setmapfile (gsdl_gsdlhome, "gbku", 0x25a1);470 mapoutconvertclass *gboutconvert = new mapoutconvertclass();471 gboutconvert->setmapfile (gsdl_gsdlhome, "ugbk", 0xa1f5);472 recpt.add_converter ("g", gbinconvert, gboutconvert);473 467 474 468 // the list of actions. … … 584 578 GlobalMemoryStatus(&memstatus); 585 579 baseavailvirtual = memstatus.dwAvailVirtual; // save for later comparison 586 580 587 581 return 1; 588 582 }
Note:
See TracChangeset
for help on using the changeset viewer.