Changeset 21405

Show
Ignore:
Timestamp:
04.01.2010 17:44:21 (9 years ago)
Author:
davidb
Message:

Introduction of jdbm DB class that is comparable with gdbm

Location:
main/trunk/greenstone2/common-src/src/lib
Files:
2 added
3 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/src/lib/Makefile.in

    r21325 r21405  
    6969    fileutil.cpp \ 
    7070    gdbmclass.cpp \ 
     71    jdbmnaiveclass.cpp \ 
    7172    gsdlsitecfg.cpp \ 
    7273    gsdltimes.cpp \ 
     
    8990    fileutil.o \ 
    9091    gdbmclass.o \ 
     92    jdbmnaiveclass.o \ 
    9193    gsdlsitecfg.o \ 
    9294    gsdltimes.o \ 
  • main/trunk/greenstone2/common-src/src/lib/gdbmclass.cpp

    r21396 r21405  
    8989    } 
    9090 
    91     // DEPRECATED -- No longer necessary now that the GDBM library reads both little-endian and big-endian files 
     91    // The following fall-back is less likely to be needed now that GDBM 
     92    // library reads both little-endian and big-endian files 
    9293    if (!file_exists(gdbm_filename)) 
    9394    { 
  • main/trunk/greenstone2/common-src/src/lib/gdbmclass.h

    r18051 r21405  
    8585  text_t getnextkey (const text_t &key); 
    8686 
    87   // DEPRECATED -- No longer necessary now that the GDBM library reads both little-endian and big-endian files 
    8887  void generate_from_txtgz (text_t filename); 
    8988};