X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=bfile%2Ftstbfile2.c;h=753f552613bb88b4fe05b02c18cf156465d4a00f;hb=46289c8b713538e12f49160e8e6eb79e131e8a20;hp=44251fd4e7298127a8f762c4f6309577123bbb60;hpb=a030c87bc444608639905eca95e29f84a4f1d991;p=idzebra-moved-to-github.git diff --git a/bfile/tstbfile2.c b/bfile/tstbfile2.c index 44251fd..753f552 100644 --- a/bfile/tstbfile2.c +++ b/bfile/tstbfile2.c @@ -17,6 +17,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if HAVE_CONFIG_H +#include +#endif #include #include #include @@ -39,7 +42,7 @@ void tst(void) return; YAZ_CHECK(max_block * block_size < 4 * 1000000); /* 4M */ - + r = mkdir("register", 0777); YAZ_CHECK(r == 0 || (r == -1 && errno == EEXIST)); @@ -149,7 +152,7 @@ void tst(void) { zint bno = 0; int step = max_block / 50; - + while (bno < max_block) { memset(buf, ' ', block_size);