From: Adam Dickmeiss Date: Fri, 19 Jun 2009 13:27:14 +0000 (+0200) Subject: ISAMB: ark header dty if freelist is updated X-Git-Tag: v2.0.38~2 X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=commitdiff_plain;h=5f0188ce3efa4894ae0b4c0d993437872f431623 ISAMB: ark header dty if freelist is updated --- 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)");