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
Deal with double unlocks (which does happen sometimes)
[idzebra-moved-to-github.git]
/
bfile
/
commit.c
diff --git
a/bfile/commit.c
b/bfile/commit.c
index
1715913
..
f0dfd37
100644
(file)
--- a/
bfile/commit.c
+++ b/
bfile/commit.c
@@
-1,4
+1,4
@@
-/* $Id: commit.c,v 1.23 2005-01-15 19:38:17 adam Exp $
+/* $Id: commit.c,v 1.27 2006-05-10 08:13:17 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
Copyright (C) 1995-2005
Index Data ApS
@@
-24,13
+24,14
@@
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#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
+ */
+