From: Martin Mares Date: Fri, 10 Dec 1999 18:12:34 +0000 (+0000) Subject: Stupid bug. X-Git-Tag: holmes-import~1637 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=ad255259fcda293da5091f27629c45f72abb1d27;p=libucw.git Stupid bug. --- diff --git a/lib/config.h b/lib/config.h index 50bf986a..e827ec5f 100644 --- a/lib/config.h +++ b/lib/config.h @@ -14,8 +14,8 @@ /* Features */ #define SHERLOCK_CONFIG_REF_WEIGHTS -#undef SHERLOCK_CONFIG_LARGE_DB -#undef SHERLOCK_CONFIG_LFS +#define SHERLOCK_CONFIG_LARGE_DB +#define SHERLOCK_CONFIG_LFS /* Types */ diff --git a/lib/db-test.c b/lib/db-test.c index 4ba3afd5..d4dc4a2f 100644 --- a/lib/db-test.c +++ b/lib/db-test.c @@ -360,7 +360,7 @@ int main(int argc, char **argv) ch = o; perc = 100; } - cnt = atol(o); + cnt = atol(ch); if (!cnt) { cnt = num_keys;