Changeset 19062 for gsdl


Ignore:
Timestamp:
2009-04-20T10:12:42+12:00 (15 years ago)
Author:
kjdon
Message:

all gdbm files (key, users, history, argdb) now use gdb extension instead of db

Location:
gsdl/trunk/runtime-src/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/runtime-src/src/recpt/collectoraction.cpp

    r18882 r19062  
    256256  // underlying "bild" page that does the building (and creates the frameset))
    257257  // This helps us overcome a bit of a problem we have with multiple pages trying
    258   // to read from the key.db database at the same time.
     258  // to read from the key.gdb database at the same time.
    259259  if (current_page != "intro" && current_page != "bildstatus" && current_page != "bildframe1") {
    260260    // authenticate the user if authentication is available
     
    303303    }
    304304
    305     text_t argfile = filename_cat(gsdlhome, "tmp", args["bc1tmp"], "argdb.db");
     305    text_t argfile = filename_cat(gsdlhome, "tmp", args["bc1tmp"], "argdb.gdb");
    306306    argdb *args_on_disk = new argdb(argfile);
    307307    if (!args_on_disk->update_args(saved_args)) {
  • gsdl/trunk/runtime-src/src/recpt/depositoraction.cpp

    r17248 r19062  
    249249  // underlying "bild" page that does the building (and creates the frameset))
    250250  // This helps us overcome a bit of a problem we have with multiple pages trying
    251   // to read from the key.db database at the same time.
     251  // to read from the key.gdb database at the same time.
    252252
    253253  //right now, anyone can do anything until it's time to build
  • gsdl/trunk/runtime-src/src/recpt/historydb.cpp

    r15654 r19062  
    3939               const text_t &gsdlhome, ostream &logout) {
    4040
    41   text_t historyfile = filename_cat(gsdlhome, "etc", "history.db");
     41  text_t historyfile = filename_cat(gsdlhome, "etc", "history.gdb");
    4242 
    4343  bool result = false;
     
    7171bool set_history_info (const text_t &userid, const text_t &history, const text_t &gsdlhome, bool display) {
    7272
    73   text_t historyfile = filename_cat(gsdlhome, "etc", "history.db");
     73  text_t historyfile = filename_cat(gsdlhome, "etc", "history.gdb");
    7474 
    7575  bool result = false;
     
    125125bool delete_all_history_info (const text_t &userid, const text_t &gsdlhome) {
    126126
    127   text_t historyfile = filename_cat(gsdlhome, "etc", "history.db");
     127  text_t historyfile = filename_cat(gsdlhome, "etc", "history.gdb");
    128128 
    129129  // open the history database 
  • gsdl/trunk/runtime-src/src/recpt/librarymain.cpp

    r16310 r19062  
    146146  recpt.add_action (adocumentaction);
    147147
    148   text_t userdbfile = filename_cat(gsdlhome, "etc", "users.db");
     148  text_t userdbfile = filename_cat(gsdlhome, "etc", "users.gdb");
    149149  userdbclass *udb = new userdbclass(userdbfile);
    150150
    151   text_t keydbfile = filename_cat(gsdlhome, "etc", "key.db");
     151  text_t keydbfile = filename_cat(gsdlhome, "etc", "key.gdb");
    152152  keydbclass *kdb = new keydbclass(keydbfile);
    153153
  • gsdl/trunk/runtime-src/src/recpt/wizardaction.cpp

    r17079 r19062  
    123123    }
    124124     
    125     text_t argfile = filename_cat(gsdlhome, "tmp", args[macro_prefix+"tmp"], "argdb.db");
     125    text_t argfile = filename_cat(gsdlhome, "tmp", args[macro_prefix+"tmp"], "argdb.gdb");
    126126    argdb *args_on_disk = new argdb(argfile);
    127127    if (!args_on_disk->update_args(saved_args)) {
  • gsdl/trunk/runtime-src/src/w32server/cgiwrapper.cpp

    r18979 r19062  
    510510 
    511511  if ((ausersaction == NULL) && (aauthenaction == NULL)){
    512     userdbfile = filename_cat(gsdl_gsdlhome, "etc", "users.db");
     512    userdbfile = filename_cat(gsdl_gsdlhome, "etc", "users.gdb");
    513513    udb = new userdbclass(userdbfile);
    514     keydbfile = filename_cat(gsdl_gsdlhome, "etc", "key.db");
     514    keydbfile = filename_cat(gsdl_gsdlhome, "etc", "key.gdb");
    515515    kdb = new keydbclass(keydbfile);
    516516  }
Note: See TracChangeset for help on using the changeset viewer.