X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=isamb%2Fisamb.c;h=933f38914bd7c68a85921a6b1f8038ef3dcff32f;hb=56f6460914459b1162ffc68d7021e5a29b409f99;hp=f70a65e7f2df62da4b363c32e6d1a7ec1b4de7f2;hpb=170167b891ba8e3f8284d850f7c4236a39e38887;p=idzebra-moved-to-github.git diff --git a/isamb/isamb.c b/isamb/isamb.c index f70a65e..933f389 100644 --- a/isamb/isamb.c +++ b/isamb/isamb.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1994-2009 Index Data + Copyright (C) 1994-2011 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -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)");