[Xapian-devel] Re: [Xapian-commits] 7603: trunk/xapian-core/ trunk/xapian-core/backends/flint/ trunk/xapian-core/backends/quartz/

Olly Betts olly at survex.com
Fri Jan 12 18:32:59 GMT 2007


On Tue, Jan 02, 2007 at 03:55:59PM +0000, richard wrote:
> * backends/quartz/btree.cc,backends/flint/flint_io.h: Patches from
>   Charlie Hull to allow 2GB+ index files work when compiled using
>   Visual C++.

I suspect that xapian-compact.cc (and quartzcompact.cc if you can be
bothered) will also need fixing since they use off_t.  You need to make
sure that the stat() function called works for 2GB+ files.  Without this
compression statistics don't get reported for such files.

Cheers,
    Olly



More information about the Xapian-devel mailing list