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]
/
index
/
recindex.c
diff --git
a/index/recindex.c
b/index/recindex.c
index
18b129d
..
1ba636d
100644
(file)
--- a/
index/recindex.c
+++ b/
index/recindex.c
@@
-1,8
+1,5
@@
-/* $Id: recindex.c,v 1.59 2007-11-28 11:16:32 adam Exp $
- Copyright (C) 1995-2007
- Index Data ApS
-
-This file is part of the Zebra server.
+/* This file is part of the Zebra server.
+ Copyright (C) 1994-2010 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
@@
-226,7
+223,6
@@
int recindex_read_indx(recindex_t p, zint sysno, void *buf, int itemsize,
int ignoreError)
{
int r = 0;
int ignoreError)
{
int r = 0;
- struct record_index_entry *ep = buf;
if (p->isamb)
{
if (p->isam_p)
if (p->isamb)
{
if (p->isam_p)
@@
-274,8
+270,11
@@
int recindex_read_indx(recindex_t p, zint sysno, void *buf, int itemsize,
}
}
#if 0
}
}
#if 0
- yaz_log(YLOG_LOG, "read r=%d sysno=" ZINT_FORMAT " next=" ZINT_FORMAT
+ {
+ struct record_index_entry *ep = buf;
+ yaz_log(YLOG_LOG, "read r=%d sysno=" ZINT_FORMAT " next=" ZINT_FORMAT
" sz=%d", r, sysno, ep->next, ep->size);
" sz=%d", r, sysno, ep->next, ep->size);
+ }
#endif
return r;
}
#endif
return r;
}
@@
-348,6
+347,7
@@
void recindex_write_indx(recindex_t p, zint sysno, void *buf, int itemsize)
/*
* Local variables:
* c-basic-offset: 4
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab