X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=bfile%2Ftstbfile2.c;h=753f552613bb88b4fe05b02c18cf156465d4a00f;hb=46289c8b713538e12f49160e8e6eb79e131e8a20;hp=b44f2612d861a7c8ae1785679e1bffd9022aba61;hpb=ba950cd0f07c22d667375141f368490123a72127;p=idzebra-moved-to-github.git diff --git a/bfile/tstbfile2.c b/bfile/tstbfile2.c index b44f261..753f552 100644 --- a/bfile/tstbfile2.c +++ b/bfile/tstbfile2.c @@ -1,8 +1,5 @@ -/* $Id: tstbfile2.c,v 1.5 2007-11-14 09:44:17 adam Exp $ - Copyright (C) 1995-2007 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1994-2011 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -20,6 +17,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if HAVE_CONFIG_H +#include +#endif #include #include #include @@ -42,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)); @@ -152,7 +152,7 @@ void tst(void) { zint bno = 0; int step = max_block / 50; - + while (bno < max_block) { memset(buf, ' ', block_size);