X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=isamb%2Fisamb.c;fp=isamb%2Fisamb.c;h=0ade1bfb3f150e7865f896c479f174a8b03eaa7b;hp=f70a65e7f2df62da4b363c32e6d1a7ec1b4de7f2;hb=5f0188ce3efa4894ae0b4c0d993437872f431623;hpb=170167b891ba8e3f8284d850f7c4236a39e38887 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)");