projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump copyright year
[idzebra-moved-to-github.git]
/
bfile
/
tstbfile2.c
diff --git
a/bfile/tstbfile2.c
b/bfile/tstbfile2.c
index
63ab6bd
..
28eb2f9
100644
(file)
--- a/
bfile/tstbfile2.c
+++ b/
bfile/tstbfile2.c
@@
-1,5
+1,5
@@
/* This file is part of the Zebra server.
/* This file is part of the Zebra server.
- Copyright (C) 1995-2008 Index Data
+ Copyright (C) 2004-2013 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
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
@@
-17,6
+17,9
@@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <sys/stat.h>
#include <sys/types.h>
#include <errno.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <errno.h>
@@
-39,7
+42,7
@@
void tst(void)
return;
YAZ_CHECK(max_block * block_size < 4 * 1000000); /* 4M */
return;
YAZ_CHECK(max_block * block_size < 4 * 1000000); /* 4M */
-
+
r = mkdir("register", 0777);
YAZ_CHECK(r == 0 || (r == -1 && errno == EEXIST));
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;
{
zint bno = 0;
int step = max_block / 50;
-
+
while (bno < max_block)
{
memset(buf, ' ', block_size);
while (bno < max_block)
{
memset(buf, ' ', block_size);