-/* $Id: tstmfile1.c,v 1.1 2006-11-14 12:41:19 adam Exp $
- Copyright (C) 1995-2006
- 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
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <sys/stat.h>
#include <sys/types.h>
#include <errno.h>
void tst1(void)
{
- MFile_area a = mf_init("main", 0 /* spec */, 0 /* base */);
+ MFile_area a = mf_init("main", 0 /* spec */, 0 /* base */, 0 /* only sh */);
YAZ_CHECK(a);
mf_destroy(a);
}
void tst2(void)
{
char buf[BLOCK_SIZE];
- MFile_area a = mf_init("main", 0 /* spec */, 0 /* base */);
+ MFile_area a = mf_init("main", 0 /* spec */, 0 /* base */, 0 /* only sh */);
MFile f;
YAZ_CHECK(a);