X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=bfile%2Ftstbfile1.c;h=81f3209fe7a42f75024e2e853acd7f612eba23d3;hp=3f972a509c65d2303ed29cc9e2bc099dda5df8a3;hb=aeea139423b8eaf28a4de53b3d7b2ad1f22284e7;hpb=0052fb5520062c328006dc3537f39d28e88f3579 diff --git a/bfile/tstbfile1.c b/bfile/tstbfile1.c index 3f972a5..81f3209 100644 --- a/bfile/tstbfile1.c +++ b/bfile/tstbfile1.c @@ -32,16 +32,16 @@ void tst1(BFiles bfs) const char *more_info = 0; bf_reset(bfs); - bf = bf_xopen(bfs, "tst", /* block size */ 32, + bf = bf_xopen(bfs, "tst", /* block size */ 32, /* wr */ 1, "tstmagic", &version, 0 /* more_info */); YAZ_CHECK(bf); if (!bf) return; bf_xclose(bf, version, "more info"); - - bf = bf_xopen(bfs, "tst", /* block size */ 32, + + bf = bf_xopen(bfs, "tst", /* block size */ 32, /* wr */ 1, "tstmagic", &version, &more_info); - + YAZ_CHECK(bf); if (!bf) return; @@ -58,7 +58,7 @@ void tst2(BFiles bfs) BFile bf; bf_reset(bfs); - bf = bf_xopen(bfs, "tst", /* block size */ 32, + bf = bf_xopen(bfs, "tst", /* block size */ 32, /* wr */ 1, "tstmagic", &version, 0 /* more_info */); YAZ_CHECK(bf); if (!bf) @@ -98,7 +98,7 @@ void tst3(BFiles bfs) for(i = 0; i