X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fkdump.c;h=3157512528238886e512fe42696d80a1e385be38;hb=a20e59c5087fb92c419f2330c786367f9ce8ccd2;hp=c9aae4a7b3edb81cd47b681bfc40fab192619ee3;hpb=01ddc55fd5a59535e229c09440cfdadccadf3555;p=idzebra-moved-to-github.git diff --git a/index/kdump.c b/index/kdump.c index c9aae4a..3157512 100644 --- a/index/kdump.c +++ b/index/kdump.c @@ -4,7 +4,16 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: kdump.c,v $ - * Revision 1.18 1999-09-07 07:19:21 adam + * Revision 1.21 2002-04-04 20:50:37 adam + * Multi register works with record paths and data1 profile path + * + * Revision 1.20 2002/04/04 14:14:13 adam + * Multiple registers (alpha early) + * + * Revision 1.19 2000/12/05 10:01:44 adam + * Fixed bug regarding user-defined attribute sets. + * + * Revision 1.18 1999/09/07 07:19:21 adam * Work on character mapping. Implemented replace rules. * * Revision 1.17 1999/02/02 14:50:55 adam @@ -163,11 +172,11 @@ int main (int argc, char **argv) } else if (ret == 'v') { - log_init (log_mask_str(arg), prog, NULL); + yaz_log_init (yaz_log_mask_str(arg), prog, NULL); } else if (ret == 'c') { - if (!(res = res_open (arg))) + if (!(res = res_open (arg, 0))) { logf(LOG_FATAL, "Failed to open resource file %s", arg); exit (1); @@ -185,8 +194,8 @@ int main (int argc, char **argv) exit (1); } if (!res) - res = res_open ("zebra.cfg"); - zm = zebra_maps_open (res); + res = res_open ("zebra.cfg", 0); + zm = zebra_maps_open (res, 0); if (!(inf = fopen (key_fname, "r"))) { logf (LOG_FATAL|LOG_ERRNO, "fopen %s", key_fname);