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
Do not build for Ubuntu raring, quantal (obsolete)
[idzebra-moved-to-github.git]
/
bfile
/
tstmfile1.c
diff --git
a/bfile/tstmfile1.c
b/bfile/tstmfile1.c
index
f4b8d3f
..
ad3cd93
100644
(file)
--- a/
bfile/tstmfile1.c
+++ b/
bfile/tstmfile1.c
@@
-1,5
+1,5
@@
/* This file is part of the Zebra server.
/* This file is part of the Zebra server.
- Copyright (C) 1994-2011 Index Data
+ Copyright (C) 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>
@@
-48,7
+51,7
@@
void tst2(void)
YAZ_CHECK(f);
YAZ_CHECK_EQ(mf_read(f, 0, 0, 0, buf), 0);
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);
memset(buf, 'a', BLOCK_SIZE);
YAZ_CHECK_EQ(mf_write(f, 0, 0, 0, buf), 0);