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
Build packages for Ubuntu Trusty Tahr 14.04 LTS
[idzebra-moved-to-github.git]
/
dict
/
dopen.c
diff --git
a/dict/dopen.c
b/dict/dopen.c
index
04fabe6
..
b2585c4
100644
(file)
--- a/
dict/dopen.c
+++ b/
dict/dopen.c
@@
-1,5
+1,5
@@
/* This file is part of the Zebra server.
/* This file is part of the Zebra server.
- Copyright (C) 1994-2010 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
@@
-19,6
+19,9
@@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <sys/types.h>
#include <fcntl.h>
#if HAVE_UNISTD_H
#include <sys/types.h>
#include <fcntl.h>
#if HAVE_UNISTD_H
@@
-73,7
+76,7
@@
Dict_BFile dict_bf_open(BFiles bfs, const char *name, int block_size,
int cache, int rw)
{
Dict_BFile dbf;
int cache, int rw)
{
Dict_BFile dbf;
-
+
dbf = (Dict_BFile) xmalloc(sizeof(*dbf));
dbf->bf = bf_open(bfs, name, block_size, rw);
if (!dbf->bf)
dbf = (Dict_BFile) xmalloc(sizeof(*dbf));
dbf->bf = bf_open(bfs, name, block_size, rw);
if (!dbf->bf)