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.3.
[idzebra-moved-to-github.git]
/
bfile
/
commit.c
diff --git
a/bfile/commit.c
b/bfile/commit.c
index
c6f7422
..
a4dacda
100644
(file)
--- a/
bfile/commit.c
+++ b/
bfile/commit.c
@@
-1,6
+1,6
@@
-/* $Id: commit.c,v 1.22 2004-12-08 12:23:08 adam Exp $
- Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
- Index Data Aps
+/* $Id: commit.c,v 1.28 2006-08-14 10:40:05 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.
@@
-15,22
+15,23
@@
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
-along with Zebra; see the file LICENSE.zebra. If not, write to the
-Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
*/
#include <assert.h>
#include <stdlib.h>
*/
#include <assert.h>
#include <stdlib.h>
-#include <zebrautl.h>
+#include <idzebra/util.h>
+#include <yaz/xmalloc.h>
#include "mfile.h"
#include "cfile.h"
#define CF_OPTIMIZE_COMMIT 0
#include "mfile.h"
#include "cfile.h"
#define CF_OPTIMIZE_COMMIT 0
-void cf_unlink (CFile cf)
+void cf_unlink(CFile cf)
{
if (cf->bucket_in_memory)
{
{
if (cf->bucket_in_memory)
{
@@
-247,3
+248,11
@@
void cf_commit (CFile cf)
cf_commit_flat (cf);
}
cf_commit_flat (cf);
}
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+