[Xapian-devel] xapian + win XP + 2GB
Charlie Hull
charlie at juggler.net
Fri Dec 22 13:25:54 GMT 2006
Charlie Hull wrote:
> Just to add, I've been looking at this, and my first idea was to #define
> the following:
>
> #define lseek _lseeki64
> #define off_t __int64
>
> The relevant source is btree.cc (for Quartz) and flint_table.cc (for
> Flint), in both cases functions called read_block and write_block. These
> appear to be the only places where lseek and off_t is used (apart from
> in xapian-compact which isn't relevant for this test).
>
> It would take me a while to set up a 2GB index unfortunately, so I can't
> currently reproduce Grzegorz's results. One thing that might be
> instructive is knowing whether anyone has used index files this big
> using a Mingw version of Xapian...
>
Looks like the fix worked once it was properly applied. Once Grzegorz
has confirmed it works for all his indices I'll post a patch.
Merry Christmas to all on the list!
Cheers
Charlie
Lemur
More information about the Xapian-devel
mailing list