X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fdb-test.c;h=d0f3a5eb4ab0da13da84f6b8566acc9145500d96;hb=e4c695d49529d03352d241872493a5161e646288;hp=b1694223e99f12114a97162acfddd70c1ca72559;hpb=9e6d7b0a077eb2914150301fb96180e80a370658;p=libucw.git diff --git a/lib/db-test.c b/lib/db-test.c index b1694223..d0f3a5eb 100644 --- a/lib/db-test.c +++ b/lib/db-test.c @@ -1,18 +1,21 @@ /* - * Sherlock Library -- Database Manager -- Tests and Benchmarks + * UCW Library -- Database Manager -- Tests and Benchmarks * - * (c) 1999 Martin Mares + * (c) 1999 Martin Mares + * + * This software may be freely distributed and used according to the terms + * of the GNU Lesser General Public License. */ #if 1 -#include "db.c" +#include "lib/db.c" #define NAME "SDBM" #else -#include "db-emul.c" +#include "lib/db-emul.c" #define NAME "GDBM" #endif -#include +#include #include #include #include @@ -260,7 +263,7 @@ int main(int argc, char **argv) char *ch; int dont_delete = 0; - initlog("dbtest"); + log_init("dbtest"); setvbuf(stdout, NULL, _IONBF, 0); setvbuf(stderr, NULL, _IONBF, 0); while ((c = getopt(argc, argv, "c:p:k:n:d:vsStF")) >= 0)