X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Frecords.c;h=c39ac40db368656e04bb78a5192947f92d5c2e8e;hb=59f0ad65b51f783ba61b63b0c97e6003bafa84b3;hp=c09339b2bf921fad7ef446a810bb59556424950e;hpb=980ed96922282e7d6e20df51c14a7bb6e97246e8;p=idzebra-moved-to-github.git diff --git a/index/records.c b/index/records.c index c09339b..c39ac40 100644 --- a/index/records.c +++ b/index/records.c @@ -1,4 +1,4 @@ -/* $Id: records.c,v 1.2 2007-11-23 13:59:14 adam Exp $ +/* $Id: records.c,v 1.3 2007-11-28 11:16:32 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -288,8 +288,8 @@ Records rec_open(BFiles bfs, int rw, int compression_method) p->compression_method = compression_method; p->rw = rw; p->tmp_size = 1024; - p->recindex = recindex_open(bfs, rw); p->tmp_buf = (char *) xmalloc(p->tmp_size); + p->recindex = recindex_open(bfs, rw, 0 /* 1=isamb for recindex */); r = recindex_read_head(p->recindex, p->tmp_buf); switch (r) {