]> mj.ucw.cz Git - libucw.git/blobdiff - lib/db-test.c
Another thing about the C standard I didn't know: passing a va_list to
[libucw.git] / lib / db-test.c
index b1694223e99f12114a97162acfddd70c1ca72559..23d3f21c36498eee122232e1dedec8f14026d654 100644 (file)
@@ -1,14 +1,17 @@
 /*
- *     Sherlock Library -- Database Manager -- Tests and Benchmarks
+ *     UCW Library -- Database Manager -- Tests and Benchmarks
  *
- *     (c) 1999 Martin Mares <mj@atrey.karlin.mff.cuni.cz>
+ *     (c) 1999 Martin Mares <mj@ucw.cz>
+ *
+ *     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
 
@@ -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)