Re: [Evolution-hackers] about large file support in Evolution



On Sat, 2004-01-31 at 11:27 +0100, Carlo Daffara wrote:
> Sorry for what may be a faq (but Google! didn't help me).
> I am interested in using Evolution to store a large set of mail folders,
> some larger than 2Gb, and use the Vfolder functionality to help in mail
> searches in this email corpus. The evolution binary we are using seems not
> compiled with large file support, so we have to artificially split things
> up.

FWIW You could just use maildir backend, then you only hav ea 2GB limit
per-message, rather than per-folder.

> We are so in the process of recompiling everything with
> -D_FILE_OFFSET_BITS=64 and -D_LARGEFILE_SOURCE; and would like to ask:
> 
> * is there any problem in this on traditional intel/amd x86 architectures?
>   that is, is there anything in evolution or the support libraries that
>   may not work correctly?

There may be some things.  We (in the mail application) have some binary
format files that store size_t's and the like, they will properly work
in 64 bit mode, but they wont be compatible with the files generated by
a 32bit compilation.

The mailbox handling code 'should probably work', and there have been
some 64-bit platform patches which should address similar issues, but
beyond that, it could have bugs.

> * what libraries should also support largefile? I suppose Medusa and the
>   other gnome libs, is this right?

Any that use file-io i guess.  We dont use medusa, so it doesn't matter
for evolution.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]