Changeset 15625 for gsdl/trunk/src/w32server/settings.cpp
- Timestamp:
- 2008-05-22T11:26:01+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/src/w32server/settings.cpp
r11319 r15625 47 47 text_t gsdl_enterlib; 48 48 text_t gsdl_gsdlhome; 49 text_t gsdl_ gdbmhome;49 text_t gsdl_dbhome; 50 50 text_t gsdl_collections; 51 51 colinfo_tmap gsdl_collectinfo; … … 300 300 write_ini_line(fout, "enterlib", gsdl_enterlib); 301 301 write_ini_line(fout, "gsdlhome", gsdl_gsdlhome); 302 write_ini_line(fout, "gdbmhome", gsdl_ gdbmhome);302 write_ini_line(fout, "gdbmhome", gsdl_dbhome); 303 303 304 304 write_ini_line(fout, "logfilename", gsdl_log_name); … … 321 321 if (!(*here).second.gsdl_gsdlhome.empty()) 322 322 write_ini_line(fout, "gsdlhome", (*here).second.gsdl_gsdlhome); 323 if (!(*here).second.gsdl_ gdbmhome.empty())324 write_ini_line(fout, "gdbmhome", (*here).second.gsdl_ gdbmhome);323 if (!(*here).second.gsdl_dbhome.empty()) 324 write_ini_line(fout, "gdbmhome", (*here).second.gsdl_dbhome); 325 325 326 326 ++here; … … 385 385 gsdl_enterlib = "/gsdl"; 386 386 gsdl_gsdlhome = data_location; 387 gsdl_ gdbmhome = data_location;387 gsdl_dbhome = data_location; 388 388 389 389 // debug settings … … 475 475 gsdl_collections = value; 476 476 477 // gsdlhome must occur in file before gdbmhome477 // gsdlhome must occur in file before dbhome 478 478 } else if (key == "gsdlhome") { 479 479 gsdl_gsdlhome = value; 480 gsdl_ gdbmhome = value;480 gsdl_dbhome = value; 481 481 482 482 } else if (key == "gdbmhome") { 483 gsdl_ gdbmhome = value;483 gsdl_dbhome = value; 484 484 } 485 485 } else { 486 486 487 // gsdlhome must occur in file before gdbmhome487 // gsdlhome must occur in file before dbhome 488 488 if (key == "gsdlhome") { 489 489 gsdl_collectinfo[section].gsdl_gsdlhome = value; 490 gsdl_collectinfo[section].gsdl_ gdbmhome = value;490 gsdl_collectinfo[section].gsdl_dbhome = value; 491 491 } else if (key == "gdbmhome") { 492 gsdl_collectinfo[section].gsdl_ gdbmhome = value;492 gsdl_collectinfo[section].gsdl_dbhome = value; 493 493 } 494 494 } … … 502 502 // extra slashes at the end 503 503 remove_end_slashes (gsdl_gsdlhome); 504 remove_end_slashes (gsdl_ gdbmhome);504 remove_end_slashes (gsdl_dbhome); 505 505 colinfo_tmap::iterator here = gsdl_collectinfo.begin(); 506 506 colinfo_tmap::iterator end = gsdl_collectinfo.end(); 507 507 while (here != end) { 508 508 remove_end_slashes ((*here).second.gsdl_gsdlhome); 509 remove_end_slashes ((*here).second.gsdl_ gdbmhome);509 remove_end_slashes ((*here).second.gsdl_dbhome); 510 510 ++here; 511 511 }
Note:
See TracChangeset
for help on using the changeset viewer.