projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
170167b
)
ISAMB: ark header dty if freelist is updated
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 19 Jun 2009 13:27:14 +0000
(15:27 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 19 Jun 2009 13:27:14 +0000
(15:27 +0200)
isamb/isamb.c
patch
|
blob
|
history
diff --git
a/isamb/isamb.c
b/isamb/isamb.c
index
f70a65e
..
0ade1bf
100644
(file)
--- a/
isamb/isamb.c
+++ b/
isamb/isamb.c
@@
-670,6
+670,7
@@
void close_block(ISAMB b, struct ISAMB_block *p)
p->pos, p->cat, p->pos/CAT_MAX);
memcpy(p->buf, &b->file[p->cat].head.free_list, sizeof(zint));
b->file[p->cat].head.free_list = p->pos;
p->pos, p->cat, p->pos/CAT_MAX);
memcpy(p->buf, &b->file[p->cat].head.free_list, sizeof(zint));
b->file[p->cat].head.free_list = p->pos;
+ b->file[p->cat].head_dirty = 1;
if (!cache_block(b, p->pos, p->buf, 1))
{
yaz_log(b->log_io, "bf_write: close_block (deleted)");
if (!cache_block(b, p->pos, p->buf, 1))
{
yaz_log(b->log_io, "bf_write: close_block (deleted)");