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
Version 2.0.53
[idzebra-moved-to-github.git]
/
bfile
/
tstmfile1.c
diff --git
a/bfile/tstmfile1.c
b/bfile/tstmfile1.c
index
f4b8d3f
..
e6385bf
100644
(file)
--- a/
bfile/tstmfile1.c
+++ b/
bfile/tstmfile1.c
@@
-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>
@@
-48,7
+51,7
@@
void tst2(void)
YAZ_CHECK(f);
YAZ_CHECK_EQ(mf_read(f, 0, 0, 0, buf), 0);
-
+
memset(buf, 'a', BLOCK_SIZE);
YAZ_CHECK_EQ(mf_write(f, 0, 0, 0, buf), 0);