From 5f0188ce3efa4894ae0b4c0d993437872f431623 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 19 Jun 2009 15:27:14 +0200 Subject: [PATCH] ISAMB: ark header dty if freelist is updated --- isamb/isamb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/isamb/isamb.c b/isamb/isamb.c index f70a65e..0ade1bf 100644 --- 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; + 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)"); -- 1.7.10.4